Skip to content

Commit

Permalink
Missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
krekos authored Feb 8, 2017
1 parent 93923cd commit ea539e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DI/ImagesExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function afterCompile(Nette\PhpGenerator\ClassType $class) {
$init->addBody(UploadControl::class . '::register();');
}
if ($this->cfg['registerType'] && class_exists(Type::class)) {
$init->addBody(Type::class . '::addType(?, ?)', [ImageType::TYPE, ImageType::class]);
$init->addBody(Type::class . '::addType(?, ?);', [ImageType::TYPE, ImageType::class]);
}
}

Expand Down

0 comments on commit ea539e9

Please sign in to comment.