Completed
Push — master ( 380a39...9b2e05 )
by Dmitriy
20:21
created
src/Infrastructure/ConfigAbstractFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@
 block discarded – undo
31 31
 
32 32
         $config = $moduleManager->getModule($moduleName)->getConfig();
33 33
 
34
-        if (!isset($config['entity_map'])) {
34
+        if (!isset($config[ 'entity_map' ])) {
35 35
             throw new ServiceNotCreatedException("You must define
36 36
                 and configure $moduleName\\$entityName in 'entity_map' config entry");
37 37
         }
38 38
 
39
-        return new Config($config['entity_map']);
39
+        return new Config($config[ 'entity_map' ]);
40 40
     }
41 41
 }
42 42
\ No newline at end of file
Please login to merge, or discard this patch.
src/EntityEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * @var array
22 22
      */
23
-    protected $data = [];
23
+    protected $data = [ ];
24 24
 
25 25
     /**
26 26
      * EntityEvent constructor.
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param EntityInterface $entity
29 29
      * @param array $data
30 30
      */
31
-    public function __construct($name, EntityInterface $entity, array $data = []) {
31
+    public function __construct($name, EntityInterface $entity, array $data = [ ]) {
32 32
         $this->name = $name;
33 33
         $this->entity = $entity;
34 34
         $this->data = $data;
Please login to merge, or discard this patch.