Skip to content

Commit dbdaca5

Browse files
committed
Replaced a manually entered key with a call to makeCacheKey
1 parent 31e30c2 commit dbdaca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CachedModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static function all($columns = ['*'])
5555
$class = get_called_class();
5656
$instance = new $class;
5757
$tags = [str_slug(get_called_class())];
58-
$key = sha1('genealabslaravelmodelcachingtestsfixturesauthor');
58+
$key = makeCacheKey();
5959

6060
return $instance->cache($tags)
6161
->rememberForever($key, function () use ($columns) {

0 commit comments

Comments
 (0)