@@ -12,10 +12,10 @@ discard block |
||
12 | 12 | public function localeProvider(): array |
13 | 13 | { |
14 | 14 | return [ |
15 | - ['es_ES'], |
|
16 | - ['es_AR'], |
|
17 | - ['en_GB'], |
|
18 | - ['en_US'], |
|
15 | + [ 'es_ES' ], |
|
16 | + [ 'es_AR' ], |
|
17 | + [ 'en_GB' ], |
|
18 | + [ 'en_US' ], |
|
19 | 19 | |
20 | 20 | ]; |
21 | 21 | } |
@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | public function invalidLocaleProvider(): array |
35 | 35 | { |
36 | 36 | return [ |
37 | - [$this->faker()->address], |
|
38 | - [$this->faker()->numberBetween()], |
|
37 | + [ $this->faker()->address ], |
|
38 | + [ $this->faker()->numberBetween() ], |
|
39 | 39 | ]; |
40 | 40 | } |
41 | 41 |
@@ -25,8 +25,8 @@ |
||
25 | 25 | public function invalidLanguageCodeProvider(): array |
26 | 26 | { |
27 | 27 | return [ |
28 | - [$this->faker()->address], |
|
29 | - [$this->faker()->numberBetween()], |
|
28 | + [ $this->faker()->address ], |
|
29 | + [ $this->faker()->numberBetween() ], |
|
30 | 30 | ]; |
31 | 31 | } |
32 | 32 |
@@ -24,9 +24,9 @@ |
||
24 | 24 | public function invalidLatitudeProvider(): array |
25 | 25 | { |
26 | 26 | return [ |
27 | - [$this->faker()->name], |
|
28 | - [$this->faker()->randomFloat(4, -200, -95)], |
|
29 | - [$this->faker()->randomFloat(4, 100, 200)] |
|
27 | + [ $this->faker()->name ], |
|
28 | + [ $this->faker()->randomFloat(4, -200, -95) ], |
|
29 | + [ $this->faker()->randomFloat(4, 100, 200) ] |
|
30 | 30 | ]; |
31 | 31 | } |
32 | 32 |
@@ -14,10 +14,10 @@ discard block |
||
14 | 14 | public function countryCodeProvider(): array |
15 | 15 | { |
16 | 16 | return [ |
17 | - ['GB'], |
|
18 | - ['ES'], |
|
19 | - ['BA'], |
|
20 | - ['FR'], |
|
17 | + [ 'GB' ], |
|
18 | + [ 'ES' ], |
|
19 | + [ 'BA' ], |
|
20 | + [ 'FR' ], |
|
21 | 21 | ]; |
22 | 22 | } |
23 | 23 | |
@@ -36,8 +36,8 @@ discard block |
||
36 | 36 | public function invalidCountryCodeProvider(): array |
37 | 37 | { |
38 | 38 | return [ |
39 | - [$this->faker()->address], |
|
40 | - [$this->faker()->numberBetween()] |
|
39 | + [ $this->faker()->address ], |
|
40 | + [ $this->faker()->numberBetween() ] |
|
41 | 41 | ]; |
42 | 42 | } |
43 | 43 |
@@ -24,9 +24,9 @@ |
||
24 | 24 | public function invalidLongitudeProvider(): array |
25 | 25 | { |
26 | 26 | return [ |
27 | - [$this->faker()->name], |
|
28 | - [$this->faker()->randomFloat(4, -200, -185)], |
|
29 | - [$this->faker()->randomFloat(4, 185, 200)] |
|
27 | + [ $this->faker()->name ], |
|
28 | + [ $this->faker()->randomFloat(4, -200, -185) ], |
|
29 | + [ $this->faker()->randomFloat(4, 185, 200) ] |
|
30 | 30 | ]; |
31 | 31 | } |
32 | 32 |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | { |
41 | 41 | $this->expectException(InvalidCollectionObjectException::class); |
42 | 42 | |
43 | - new Collection([new stdClass(), new stdClass()]); |
|
43 | + new Collection([ new stdClass(), new stdClass() ]); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function itShouldReturnEmptyCollection(): void |
58 | 58 | { |
59 | - $collection = new Collection([]); |
|
59 | + $collection = new Collection([ ]); |
|
60 | 60 | |
61 | 61 | $this->assertEmpty($collection->getCollection()); |
62 | 62 | } |
@@ -25,9 +25,9 @@ |
||
25 | 25 | public function invalidSha256Provider(): array |
26 | 26 | { |
27 | 27 | return [ |
28 | - [$this->faker()->md5], |
|
29 | - [$this->faker()->sha1], |
|
30 | - [$this->faker()->text], |
|
28 | + [ $this->faker()->md5 ], |
|
29 | + [ $this->faker()->sha1 ], |
|
30 | + [ $this->faker()->text ], |
|
31 | 31 | ]; |
32 | 32 | } |
33 | 33 |
@@ -26,8 +26,8 @@ |
||
26 | 26 | public function invalidEmailProvider(): array |
27 | 27 | { |
28 | 28 | return [ |
29 | - [$this->faker()->numberBetween()], |
|
30 | - [$this->faker()->address], |
|
29 | + [ $this->faker()->numberBetween() ], |
|
30 | + [ $this->faker()->address ], |
|
31 | 31 | ]; |
32 | 32 | } |
33 | 33 |
@@ -25,9 +25,9 @@ |
||
25 | 25 | public function invalidSha1Provider(): array |
26 | 26 | { |
27 | 27 | return [ |
28 | - [$this->faker()->md5], |
|
29 | - [$this->faker()->sha256], |
|
30 | - [$this->faker()->text], |
|
28 | + [ $this->faker()->md5 ], |
|
29 | + [ $this->faker()->sha256 ], |
|
30 | + [ $this->faker()->text ], |
|
31 | 31 | ]; |
32 | 32 | } |
33 | 33 |