@@ -43,7 +43,7 @@ |
||
| 43 | 43 | /** |
| 44 | 44 | * Constructor. |
| 45 | 45 | * |
| 46 | - * @param array $viewPaths |
|
| 46 | + * @param string[] $viewPaths |
|
| 47 | 47 | * @param string $cachePath |
| 48 | 48 | * @param Container $container |
| 49 | 49 | */ |
@@ -56,6 +56,9 @@ |
||
| 56 | 56 | ]; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param string $path |
|
| 61 | + */ |
|
| 59 | 62 | protected static function isAbsolutePath($path) |
| 60 | 63 | { |
| 61 | 64 | return $path && ($path[0] === DIRECTORY_SEPARATOR || preg_match('~\A[A-Z]:(?![^/\\\\])~i', $path) > 0); |