We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe51beb commit 22cc608Copy full SHA for 22cc608
src/Cache/Driver/TaggableFileStore.php
@@ -74,7 +74,7 @@ protected function path($key)
74
$hash = $key;
75
$parts = [];
76
} else {
77
- $parts = array_slice(str_split($hash = sha1($key), 2), 0, 2);
+ $parts = array_slice(str_split($hash = sha1((string) $key), 2), 0, 2);
78
}
79
80
return $this->directory . $this->ds . $folder . (count($parts) > 0 ? implode($this->ds, $parts) . $this->ds : '') . $hash;
0 commit comments