This commit is contained in:
Dane Everitt 2017-09-11 00:15:48 -05:00
parent 131159c246
commit f9bf8603b2
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -24,6 +24,7 @@
namespace Pterodactyl\Services\Helpers;
use stdClass;
use Exception;
use GuzzleHttp\Client;
use Illuminate\Contracts\Cache\Repository as CacheRepository;
@ -142,7 +143,7 @@ class SoftwareVersionService
throw new CdnVersionFetchingException;
} catch (Exception $exception) {
return (object) [];
return new stdClass();
}
});
}