1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-06 05:07:41 +02:00

feat(helpers): update fetch helper

This commit is contained in:
Awilum
2022-09-01 14:33:17 +03:00
parent e8c056e3f1
commit 15e06334dc

View File

@@ -30,7 +30,7 @@ if (! function_exists('fetch')) {
*
* @param string $resource A resource that you wish to fetch.
* @param array $options Options.
* @return Glowy\Arrays\Arrays|GuzzleHttp\Psr7\Response Returns the data from the resource or empty collection on failure.
* @return mixed Returns the data from the resource or empty collection on failure.
*/
function fetch(string $resource, array $options = [])
{