Skip to content

Commit

Permalink
Update ApcuFileCacheLoader.php
Browse files Browse the repository at this point in the history
  • Loading branch information
aenima700 authored Dec 16, 2021
1 parent 541ea04 commit 3b89f9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b89f9d

Please sign in to comment.