@@ -65,8 +65,8 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @return Cacheer |
|
| 69 | - */ |
|
| 68 | + * @return Cacheer |
|
| 69 | + */ |
|
| 70 | 70 | public function useArrayDriver() |
| 71 | 71 | { |
| 72 | 72 | $this->cacheer->cacheStore = new ArrayCacheStore($this->logPath); |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * @return Cacheer |
| 78 | - */ |
|
| 78 | + */ |
|
| 79 | 79 | public function useDefaultDriver() |
| 80 | 80 | { |
| 81 | 81 | if (!isset($this->cacheer->options['cacheDir'])) { |
@@ -92,14 +92,14 @@ discard block |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @param mixed $dirName |
|
| 96 | - * @return bool |
|
| 97 | - */ |
|
| 95 | + * @param mixed $dirName |
|
| 96 | + * @return bool |
|
| 97 | + */ |
|
| 98 | 98 | private function isDir(mixed $dirName) |
| 99 | 99 | { |
| 100 | - if (is_dir($dirName)) { |
|
| 101 | - return true; |
|
| 102 | - } |
|
| 103 | - return mkdir($dirName, 0755, true); |
|
| 100 | + if (is_dir($dirName)) { |
|
| 101 | + return true; |
|
| 102 | + } |
|
| 103 | + return mkdir($dirName, 0755, true); |
|
| 104 | 104 | } |
| 105 | 105 | } |