We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1542bb2 commit 689d648Copy full SHA for 689d648
src/Bridges/CacheDI/CacheExtension.php
@@ -49,7 +49,7 @@ public function loadConfiguration()
49
public function afterCompile(Nette\PhpGenerator\ClassType $class)
50
{
51
if (!$this->checkTempDir($this->tempDir . '/cache')) {
52
- $class->methods['initialize']->addBody('Nette\Caching\Storages\FileStorage::$useDirectories = FALSE;');
+ $class->getMethod('initialize')->addBody('Nette\Caching\Storages\FileStorage::$useDirectories = FALSE;');
53
}
54
55
0 commit comments