Skip to content

Commit

Permalink
Merge pull request #408 from tedious/typehint-fix
Browse files Browse the repository at this point in the history
Fix type hint on check filesystem permissions function
  • Loading branch information
tedivm authored Mar 21, 2022
2 parents 4fd8d21 + dcec787 commit 4ebc237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stash/Utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public static function normalizeKeys($keys, $hash = 'md5')
* @throws Exception\RuntimeException
* @throws Exception\InvalidArgumentException
*/
public static function checkFileSystemPermissions($path, string $permissions)
public static function checkFileSystemPermissions($path, int $permissions)
{
if (!isset($path)) {
throw new RuntimeException('Cache path was not set correctly.');
Expand Down

0 comments on commit 4ebc237

Please sign in to comment.