From dcec78701e947fd478fa8ae7e0cf2904cc06d810 Mon Sep 17 00:00:00 2001 From: Robert Hafner Date: Sun, 20 Mar 2022 17:51:45 -0700 Subject: [PATCH] Fix type hint (int not string) --- src/Stash/Utilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stash/Utilities.php b/src/Stash/Utilities.php index 96e8dc66..dc8ed961 100644 --- a/src/Stash/Utilities.php +++ b/src/Stash/Utilities.php @@ -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.');