@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | |
4 | -declare(strict_types=1); |
|
4 | +declare(strict_types = 1); |
|
5 | 5 | |
6 | 6 | namespace Doctrine\ORM\Sequencing; |
7 | 7 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\ORM\Sequencing; |
6 | 6 | |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | $this->tableName, $this->sequenceName, $this->allocationSize |
78 | 78 | ); |
79 | 79 | |
80 | - if ($conn->executeUpdate($updateSql, [1 => $currentLevel, 2 => $currentLevel+1]) !== 1) { |
|
80 | + if ($conn->executeUpdate($updateSql, [1 => $currentLevel, 2 => $currentLevel + 1]) !== 1) { |
|
81 | 81 | // no affected rows, concurrency issue, throw exception |
82 | 82 | } |
83 | 83 | } else { |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | |
4 | -declare(strict_types=1); |
|
4 | +declare(strict_types = 1); |
|
5 | 5 | |
6 | 6 | namespace Doctrine\ORM\Sequencing\Planning; |
7 | 7 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | public function executeDeferred(EntityManagerInterface $entityManager, /*object*/ $entity): void |
41 | 41 | { |
42 | 42 | foreach ($this->executors as $executor) { |
43 | - if (! $executor->isDeferred()) { |
|
43 | + if ( ! $executor->isDeferred()) { |
|
44 | 44 | continue; |
45 | 45 | } |
46 | 46 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | |
4 | -declare(strict_types=1); |
|
4 | +declare(strict_types = 1); |
|
5 | 5 | |
6 | 6 | namespace Doctrine\ORM\Sequencing\Planning; |
7 | 7 |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | |
4 | -declare(strict_types=1); |
|
4 | +declare(strict_types = 1); |
|
5 | 5 | |
6 | 6 | namespace Doctrine\ORM\Sequencing\Planning; |
7 | 7 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | public function executeImmediate(EntityManagerInterface $entityManager, /*object*/ $entity): void |
27 | 27 | { |
28 | - if (! $this->executor->isDeferred()) { |
|
28 | + if ( ! $this->executor->isDeferred()) { |
|
29 | 29 | $this->dispatchExecutor($entity, $entityManager); |
30 | 30 | } |
31 | 31 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\ORM; |
6 | 6 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | return $this->collection->isEmpty(); |
79 | 79 | } |
80 | 80 | |
81 | - return !$this->count(); |
|
81 | + return ! $this->count(); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\ORM\Annotation; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | require_once __DIR__.'/Annotation.php'; |
6 | 6 | require_once __DIR__.'/AssociationOverride.php'; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\ORM; |
6 | 6 | |
@@ -25,12 +25,12 @@ discard block |
||
25 | 25 | $ids = []; |
26 | 26 | |
27 | 27 | foreach ($id as $key => $value) { |
28 | - $ids[] = $key . '(' . $value . ')'; |
|
28 | + $ids[] = $key.'('.$value.')'; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | |
32 | 32 | return new self( |
33 | - 'Entity of type \'' . $className . '\'' . ($ids ? ' for IDs ' . implode(', ', $ids) : '') . ' was not found' |
|
33 | + 'Entity of type \''.$className.'\''.($ids ? ' for IDs '.implode(', ', $ids) : '').' was not found' |
|
34 | 34 | ); |
35 | 35 | } |
36 | 36 | } |