@@ -100,7 +100,7 @@ |
||
100 | 100 | sprintf( |
101 | 101 | "Entity class \"%s\" used in association of \"%s\" entity does not have definition.", |
102 | 102 | $targetClass, |
103 | - (string)$definition->getClassName() |
|
103 | + (string) $definition->getClassName() |
|
104 | 104 | ) |
105 | 105 | ); |
106 | 106 | } |
@@ -126,7 +126,7 @@ |
||
126 | 126 | public function commit() |
127 | 127 | { |
128 | 128 | foreach ($this->registry->all() as $entity) { |
129 | - switch($this->getEntityState($entity)) { |
|
129 | + switch ($this->getEntityState($entity)) { |
|
130 | 130 | case EntityStates::NEW_ENTITY: |
131 | 131 | $this->commandBus->dispatch(new NewCommand($entity)); |
132 | 132 | break; |