@@ -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\Tests\Mocks; |
6 | 6 | |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | |
203 | 203 | $this->throwException(__FUNCTION__); |
204 | 204 | |
205 | - if (! isset($this->locks[$key->hash])) { |
|
205 | + if ( ! isset($this->locks[$key->hash])) { |
|
206 | 206 | return; |
207 | 207 | } |
208 | 208 |
@@ -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\Tests\Mocks; |
6 | 6 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | public function fetchColumn($columnNumber = 0) |
48 | 48 | { |
49 | 49 | $row = current($this->resultSet); |
50 | - if (! is_array($row)) { |
|
50 | + if ( ! is_array($row)) { |
|
51 | 51 | return false; |
52 | 52 | } |
53 | 53 | $val = array_shift($row); |
@@ -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\Tests\Mocks; |
6 | 6 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public function getDatabasePlatform() |
39 | 39 | { |
40 | - if (! $this->platformMock) { |
|
40 | + if ( ! $this->platformMock) { |
|
41 | 41 | $this->platformMock = new DatabasePlatformMock; |
42 | 42 | } |
43 | 43 | return $this->platformMock; |
@@ -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\Tests\Models\ECommerce; |
6 | 6 | |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | public function addProduct(ECommerceProduct $product) |
72 | 72 | { |
73 | - if (! $this->products->contains($product)) { |
|
73 | + if ( ! $this->products->contains($product)) { |
|
74 | 74 | $this->products[] = $product; |
75 | 75 | $product->addCategory($this); |
76 | 76 | } |
@@ -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\Tests\Models\ECommerce; |
6 | 6 | |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | |
134 | 134 | public function addCategory(ECommerceCategory $category) |
135 | 135 | { |
136 | - if (! $this->categories->contains($category)) { |
|
136 | + if ( ! $this->categories->contains($category)) { |
|
137 | 137 | $this->categories[] = $category; |
138 | 138 | $category->addProduct($this); |
139 | 139 | } |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | public function addRelated(ECommerceProduct $related) |
166 | 166 | { |
167 | - if (! $this->related->contains($related)) { |
|
167 | + if ( ! $this->related->contains($related)) { |
|
168 | 168 | $this->related[] = $related; |
169 | 169 | $related->addRelated($this); |
170 | 170 | } |
@@ -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\Tests\Models\Company; |
6 | 6 | |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | |
116 | 116 | public function addFriend(CompanyPerson $friend) |
117 | 117 | { |
118 | - if (! $this->friends->contains($friend)) { |
|
118 | + if ( ! $this->friends->contains($friend)) { |
|
119 | 119 | $this->friends->add($friend); |
120 | 120 | $friend->addFriend($this); |
121 | 121 | } |
@@ -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\Tests\Models\CompositeKeyInheritance; |
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 | namespace Doctrine\Tests\Models\CompositeKeyInheritance; |
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 | namespace Doctrine\Tests\Models\CompositeKeyInheritance; |
6 | 6 |