Completed
Push — master ( 267d3a...852fdc )
by Андрей
02:15
created
Module.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/ModuleOptionsPluginManager.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/ModuleOptionsPluginManagerFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/ModuleOptionsEvent.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/ModuleOptionsInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Exception/ResolveModuleNameException.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Options/ModuleOptionsFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Options/ModuleOptions.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/ModuleOptionsPluginManagerInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.