diff --git a/src/Xinax/LaravelGettext/FileLoader/Cache/ApcuFileCacheLoader.php b/src/Xinax/LaravelGettext/FileLoader/Cache/ApcuFileCacheLoader.php index 47d753f..d932b83 100644 --- a/src/Xinax/LaravelGettext/FileLoader/Cache/ApcuFileCacheLoader.php +++ b/src/Xinax/LaravelGettext/FileLoader/Cache/ApcuFileCacheLoader.php @@ -37,7 +37,7 @@ public function __construct(FileLoader $underlyingFileLoader) * * @throws InvalidResourceException if stream content has an invalid format */ - protected function loadResource(string $resource) + protected function loadResource(string $resource): array { if (!extension_loaded('apcu')) { return $this->underlyingFileLoader->loadResource($resource);