@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | |
| 11 | 11 | $expected = $this->cloneArray($expectedArray); |
| 12 | 12 | |
| 13 | - foreach($array as $value) |
|
| 13 | + foreach ($array as $value) |
|
| 14 | 14 | { |
| 15 | 15 | $index = array_search($value, $expected, true); |
| 16 | 16 | $this->assertNotFalse($index, $message); |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | { |
| 24 | 24 | $this->assertCount(count($expectedArray), $array, $message); |
| 25 | 25 | |
| 26 | - foreach($expectedArray as $key => $value) |
|
| 26 | + foreach ($expectedArray as $key => $value) |
|
| 27 | 27 | { |
| 28 | 28 | $this->assertArrayHasKey($key, $array, $message); |
| 29 | 29 | $this->assertSame($value, $array[$key], $message); |
@@ -34,13 +34,13 @@ discard block |
||
| 34 | 34 | { |
| 35 | 35 | $clone = []; |
| 36 | 36 | |
| 37 | - foreach($array as $key => $value) |
|
| 37 | + foreach ($array as $key => $value) |
|
| 38 | 38 | { |
| 39 | - if(is_object($value)) |
|
| 39 | + if (is_object($value)) |
|
| 40 | 40 | { |
| 41 | 41 | $value = clone $value; |
| 42 | 42 | } |
| 43 | - elseif(is_array($value)) |
|
| 43 | + elseif (is_array($value)) |
|
| 44 | 44 | { |
| 45 | 45 | $value = $this->cloneArray($value); |
| 46 | 46 | } |
@@ -39,8 +39,7 @@ |
||
| 39 | 39 | if(is_object($value)) |
| 40 | 40 | { |
| 41 | 41 | $value = clone $value; |
| 42 | - } |
|
| 43 | - elseif(is_array($value)) |
|
| 42 | + } elseif(is_array($value)) |
|
| 44 | 43 | { |
| 45 | 44 | $value = $this->cloneArray($value); |
| 46 | 45 | } |