@@ -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 | } |
@@ -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\Persisters; |
6 | 6 | |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | /** |
25 | 25 | * @var array |
26 | 26 | */ |
27 | - private $types = []; |
|
27 | + private $types = []; |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Converts a comparison expression into the target query language output. |
@@ -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\Persisters\Collection; |
6 | 6 |
@@ -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\Persisters; |
6 | 6 | |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | static public function matchingAssocationFieldRequiresObject($class, $associationName) |
18 | 18 | { |
19 | 19 | return new self(sprintf( |
20 | - "Cannot match on %s::%s with a non-object value. Matching objects by id is " . |
|
20 | + "Cannot match on %s::%s with a non-object value. Matching objects by id is ". |
|
21 | 21 | "not compatible with matching on an in-memory collection, which compares objects by reference.", |
22 | 22 | $class, $associationName |
23 | 23 | )); |
@@ -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\Persisters\Entity; |
6 | 6 |
@@ -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\Persisters\Entity; |
6 | 6 | |
@@ -59,6 +59,6 @@ discard block |
||
59 | 59 | $columnType |
60 | 60 | ); |
61 | 61 | |
62 | - return $columnType->convertToPHPValueSQL($sql, $this->platform) . ' AS ' . $columnAlias; |
|
62 | + return $columnType->convertToPHPValueSQL($sql, $this->platform).' AS '.$columnAlias; |
|
63 | 63 | } |
64 | 64 | } |