@@ -27,7 +27,7 @@ |
||
| 27 | 27 | const VO = self::DOMAIN . self::DS . 'ValueObjects'; |
| 28 | 28 | const EVENTS = self::DOMAIN . self::DS . 'Events'; |
| 29 | 29 | const REPOSITORIES = self::DOMAIN . self::DS . 'Repositories'; |
| 30 | - const INFRASTRUCTURE = self::DS . 'Infrastructure'; |
|
| 30 | + const INFRASTRUCTURE = self::DS . 'Infrastructure'; |
|
| 31 | 31 | const PERSISTENCE = self::INFRASTRUCTURE . self::DS . 'Persistence'; |
| 32 | 32 | const ORM = self::PERSISTENCE . self::DS . 'ORM'; |
| 33 | 33 | const DOCTRINE = self::ORM . self::DS . 'Doctrine'; |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | $message = 'Modulo já existe.'; |
| 18 | 18 | |
| 19 | - if (null == !$moduleName) { |
|
| 19 | + if (null==!$moduleName) { |
|
| 20 | 20 | $message = sprintf('Modulo "%s" já existe', $moduleName); |
| 21 | 21 | } |
| 22 | 22 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | PhpProperty::create('provides') |
| 35 | 35 | ->setVisibility('protected') |
| 36 | 36 | ->setType('array') |
| 37 | - ->setValue(PhpConstant::create('[]', [], true)) |
|
| 37 | + ->setValue(PhpConstant::create('[]', [ ], true)) |
|
| 38 | 38 | ); |
| 39 | 39 | |
| 40 | 40 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public static function getSubscribedEvents() |
| 39 | 39 | { |
| 40 | - return [ModuleWasCreated::NAME => 'create']; |
|
| 40 | + return [ ModuleWasCreated::NAME => 'create' ]; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | public function create(ModuleWasCreated $created) |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | */ |
| 37 | 37 | public static function getSubscribedEvents() |
| 38 | 38 | { |
| 39 | - return [ModuleWasCreated::NAME => 'createModule']; |
|
| 39 | + return [ ModuleWasCreated::NAME => 'createModule' ]; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | public static function getInstance() |
| 31 | 31 | { |
| 32 | - if (self::$instance === null) { |
|
| 32 | + if (self::$instance===null) { |
|
| 33 | 33 | self::$instance = new self(); |
| 34 | 34 | } |
| 35 | 35 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public static function getSubscribedEvents() |
| 39 | 39 | { |
| 40 | - return [ModuleWasCreated::NAME => 'create']; |
|
| 40 | + return [ ModuleWasCreated::NAME => 'create' ]; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | public function create(ModuleWasCreated $created) |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function getCommand(): Command |
| 33 | 33 | { |
| 34 | - return $this->command; |
|
| 34 | + return $this->command; |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | public function getName(): string |
@@ -35,6 +35,6 @@ |
||
| 35 | 35 | |
| 36 | 36 | public static function getSubscribedEvents() |
| 37 | 37 | { |
| 38 | - return [CommandWasCreated::NAME => 'create']; |
|
| 38 | + return [ CommandWasCreated::NAME => 'create' ]; |
|
| 39 | 39 | } |
| 40 | 40 | } |
| 41 | 41 | \ No newline at end of file |