@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * @inheritDoc |
| 56 | 56 | */ |
| 57 | - public function __construct($connectionName = null, $driverClass = null, array $params = []) |
|
| 57 | + public function __construct($connectionName = null, $driverClass = null, array $params = [ ]) |
|
| 58 | 58 | { |
| 59 | 59 | if (!static::$flagInitData) { |
| 60 | 60 | static::$connectionName = $connectionName; |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | */ |
| 116 | 116 | public function attach(EventManagerInterface $events) |
| 117 | 117 | { |
| 118 | - $events->attach(MvcEvent::EVENT_BOOTSTRAP, [$this, 'onBootstrap']); |
|
| 118 | + $events->attach(MvcEvent::EVENT_BOOTSTRAP, [ $this, 'onBootstrap' ]); |
|
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/nnx-framework/zf2-test-toolkit |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/nnx-framework/zf2-test-toolkit |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Nnx\ZF2TestToolkit\Listener; |
| 7 | 7 | |
| 8 | 8 | use Exception; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function attach(EventManagerInterface $events) |
| 25 | 25 | { |
| 26 | - $events->getSharedManager()->attach('doctrine', 'loadCli.post', [$this, 'onDoctrineLoadCliPost'], 100); |
|
| 26 | + $events->getSharedManager()->attach('doctrine', 'loadCli.post', [ $this, 'onDoctrineLoadCliPost' ], 100); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |