@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * file that was distributed with this source code. |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -namespace Zikula\ExtensionsModule\DependencyInjection\Compiler;; |
|
| 14 | +namespace Zikula\ExtensionsModule\DependencyInjection\Compiler; ; |
|
| 15 | 15 | |
| 16 | 16 | use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
| 17 | 17 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
@@ -65,8 +65,7 @@ discard block |
||
| 65 | 65 | ExtensionStateHelper $extensionStateHelper, |
| 66 | 66 | ExtensionRepositoryInterface $extensionRepository, |
| 67 | 67 | ExtensionDependencyHelper $dependencyHelper |
| 68 | - ) |
|
| 69 | - { |
|
| 68 | + ) { |
|
| 70 | 69 | parent::__construct($extension, $permissionApi, $variableApi, $translator); |
| 71 | 70 | $this->extensionStateHelper = $extensionStateHelper; |
| 72 | 71 | $this->extensionRepository = $extensionRepository; |
@@ -79,7 +78,8 @@ discard block |
||
| 79 | 78 | * @Theme("admin") |
| 80 | 79 | * @Template("@ZikulaExtensionsModule/Extension/preinstall.html.twig") |
| 81 | 80 | */ |
| 82 | - public function preInstallAction(ExtensionEntity $extension) { |
|
| 81 | + public function preInstallAction(ExtensionEntity $extension) |
|
| 82 | + { |
|
| 83 | 83 | if (Constant::STATE_TRANSITIONAL !== $extension->getState()) { |
| 84 | 84 | $this->extensionStateHelper->updateState($extension->getId(), Constant::STATE_TRANSITIONAL); |
| 85 | 85 | |