Skip to content

Commit aa338ba

Browse files
garret-gunterpatrickbrouwers
authored andcommitted
Handle empty array values from cache. (#350)
1 parent 5a00450 commit aa338ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Configuration/Cache/IlluminateCacheAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(Repository $cache)
3030
*/
3131
protected function doFetch($id)
3232
{
33-
return $this->cache->get($id) ?: false;
33+
return $this->cache->get($id) ?? false;
3434
}
3535

3636
/**

0 commit comments

Comments
 (0)