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 82e5b73 commit 03100c7Copy full SHA for 03100c7
1 file changed
src/DI/ImageStorageExtension.php
@@ -46,7 +46,7 @@ public function beforeCompile(): void
46
/** @var Nette\DI\Definitions\FactoryDefinition $latteFactory */
47
$latteFactory = $builder->getDefinition('latte.latteFactory');
48
assert($latteFactory instanceof Nette\DI\Definitions\FactoryDefinition);
49
- if (version_compare(Latte\Engine::Version, '3', '<')) {
+ if (version_compare(Latte\Engine::VERSION, '3', '<')) {
50
$latteFactory->getResultDefinition()
51
->addSetup('Contributte\ImageStorage\Macros\Macros::install(?->getCompiler())', ['@self']);
52
} else {
0 commit comments