@@ -46,7 +46,7 @@ |
||
46 | 46 | public function init(ModuleManagerInterface $manager) |
47 | 47 | { |
48 | 48 | if (!$manager instanceof ModuleManager) { |
49 | - $errMsg =sprintf('Module manager not implement %s', ModuleManager::class); |
|
49 | + $errMsg = sprintf('Module manager not implement %s', ModuleManager::class); |
|
50 | 50 | throw new Exception\InvalidArgumentException($errMsg); |
51 | 51 | } |
52 | 52 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | public function autoDetectModuleNameByClassName($className) |
181 | 181 | { |
182 | 182 | if (array_key_exists($className, $this->classNameToModuleName)) { |
183 | - $resultModuleName = $this->classNameToModuleName[$className]; |
|
183 | + $resultModuleName = $this->classNameToModuleName[$className]; |
|
184 | 184 | } else { |
185 | 185 | $index = $this->getModulesIndex(); |
186 | 186 | $classNameLength = strlen($className); |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | $event->setTarget($this); |
251 | 251 | $event->setModuleName($moduleName); |
252 | 252 | |
253 | - $eventCollections = $this->getEventManager()->trigger($event, function ($result) { |
|
253 | + $eventCollections = $this->getEventManager()->trigger($event, function($result) { |
|
254 | 254 | return $result instanceof ModuleOptionsInterface; |
255 | 255 | }); |
256 | 256 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/nnx-company/module-options |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/nnx-company/module-options |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace Nnx\ModuleOptions; |
7 | 7 | |
8 | 8 | use Zend\EventManager\EventManagerAwareTrait; |