@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 29.01.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\DoctrineBlameable\Entities; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 29.01.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\DoctrineBlameable\Entities; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 01.01.16 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\DoctrineBlameable\Exceptions; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 01.01.16 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\DoctrineBlameable\Exceptions; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 01.01.16 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\DoctrineBlameable\Events; |
18 | 18 |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @date 01.01.16 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\DoctrineBlameable\DI; |
18 | 18 | |
@@ -137,12 +137,12 @@ discard block |
||
137 | 137 | is_array($entity) |
138 | 138 | && $entity[0] instanceof DI\Definitions\ServiceDefinition |
139 | 139 | ) { // [ServiceDefinition, ...] -> [@serviceName, ...] |
140 | - $entity[0] = '@' . current(array_keys($builder->getDefinitions(), $entity[0], TRUE)); |
|
140 | + $entity[0] = '@'.current(array_keys($builder->getDefinitions(), $entity[0], TRUE)); |
|
141 | 141 | |
142 | 142 | } elseif ( |
143 | 143 | $entity instanceof DI\Definitions\ServiceDefinition |
144 | 144 | ) { // ServiceDefinition -> @serviceName |
145 | - $entity = '@' . current(array_keys($builder->getDefinitions(), $entity, TRUE)); |
|
145 | + $entity = '@'.current(array_keys($builder->getDefinitions(), $entity, TRUE)); |
|
146 | 146 | |
147 | 147 | } elseif ( |
148 | 148 | is_array($entity) |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | ) { // [$builder, ...] -> [@container, ...] |
151 | 151 | trigger_error("Replace object ContainerBuilder in Statement entity with '@container'.", E_USER_DEPRECATED); |
152 | 152 | |
153 | - $entity[0] = '@' . md5($entity); |
|
153 | + $entity[0] = '@'.md5($entity); |
|
154 | 154 | } |
155 | 155 | |
156 | 156 | return $entity; |
@@ -17,11 +17,9 @@ |
||
17 | 17 | namespace IPub\DoctrineBlameable\DI; |
18 | 18 | |
19 | 19 | use Doctrine; |
20 | - |
|
21 | 20 | use Nette; |
22 | 21 | use Nette\DI; |
23 | 22 | use Nette\Schema; |
24 | - |
|
25 | 23 | use IPub\DoctrineBlameable; |
26 | 24 | use IPub\DoctrineBlameable\Events; |
27 | 25 | use IPub\DoctrineBlameable\Mapping; |