@@ -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 | |
@@ -19,7 +19,6 @@ |
||
| 19 | 19 | use Nette; |
| 20 | 20 | use Nette\DI; |
| 21 | 21 | use Nette\Schema; |
| 22 | - |
|
| 23 | 22 | use IPub\DoctrineBlameable; |
| 24 | 23 | use IPub\DoctrineBlameable\Events; |
| 25 | 24 | use IPub\DoctrineBlameable\Mapping; |
@@ -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 | |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | |
| 90 | 90 | $builder->addDefinition($this->prefix('subscriber')) |
| 91 | 91 | ->setType(Events\BlameableSubscriber::class) |
| 92 | - ->setArguments([$userCallable instanceof DI\Definitions\ServiceDefinition ? '@' . $userCallable->getType() : NULL]); |
|
| 92 | + ->setArguments([$userCallable instanceof DI\Definitions\ServiceDefinition ? '@'.$userCallable->getType() : NULL]); |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
@@ -142,12 +142,12 @@ discard block |
||
| 142 | 142 | is_array($entity) |
| 143 | 143 | && $entity[0] instanceof DI\Definitions\ServiceDefinition |
| 144 | 144 | ) { // [ServiceDefinition, ...] -> [@serviceName, ...] |
| 145 | - $entity[0] = '@' . current(array_keys($builder->getDefinitions(), $entity[0], TRUE)); |
|
| 145 | + $entity[0] = '@'.current(array_keys($builder->getDefinitions(), $entity[0], TRUE)); |
|
| 146 | 146 | |
| 147 | 147 | } elseif ( |
| 148 | 148 | $entity instanceof DI\Definitions\ServiceDefinition |
| 149 | 149 | ) { // ServiceDefinition -> @serviceName |
| 150 | - $entity = '@' . current(array_keys($builder->getDefinitions(), $entity, TRUE)); |
|
| 150 | + $entity = '@'.current(array_keys($builder->getDefinitions(), $entity, TRUE)); |
|
| 151 | 151 | |
| 152 | 152 | } elseif ( |
| 153 | 153 | is_array($entity) |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | ) { // [$builder, ...] -> [@container, ...] |
| 156 | 156 | trigger_error("Replace object ContainerBuilder in Statement entity with '@container'.", E_USER_DEPRECATED); |
| 157 | 157 | |
| 158 | - $entity[0] = '@' . md5($entity); |
|
| 158 | + $entity[0] = '@'.md5($entity); |
|
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | return $entity; |