Skip to content

Commit e99e5fd

Browse files
committed
Ошибка обработки twig_cache_dir
1 parent d65cf8b commit e99e5fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Services/Twig/TwigService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ public function addPath(string $path) : void
106106
*
107107
* @param FilesystemLoader $loader Загрузчик.
108108
* @param string $debug Среда.
109-
* @param string $cachePath Путь к кэшу (серверный).
109+
* @param string|false $cachePath Путь к кэшу (серверный).
110110
*
111111
* @return Environment
112112
* @throws LoaderError Ошибки Твига.
113113
*/
114114
private function initTwig(
115115
FilesystemLoader $loader,
116116
string $debug,
117-
string $cachePath
117+
$cachePath
118118
) : Environment {
119119

120120
$allPaths = $loader->getPaths();

0 commit comments

Comments
 (0)