Skip to content

Commit f68a8f3

Browse files
committed
Merge branch 'hotfix/fix-emptyArray-laravel-5.5-compatibility'
2 parents 3e6823d + a6f86d2 commit f68a8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Cachable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function disableCache()
4141

4242
public function flushCache(array $tags = [])
4343
{
44-
if (emptyArray($tags)) {
44+
if (count($tags) === 0) {
4545
$tags = $this->makeCacheTags();
4646
}
4747

0 commit comments

Comments
 (0)