@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | if (is_string($key) && is_string($value)) { |
| 32 | 32 | return array('identifier' => $key, 'attribute' => $value); |
| 33 | 33 | } |
| 34 | - if (!is_array($value) || !isset($value['identifier']) || ! isset($value['attribute'])) { |
|
| 34 | + if (!is_array($value) || !isset($value['identifier']) || !isset($value['attribute'])) { |
|
| 35 | 35 | throw new InvalidStepDefinitionException("Invalid reference definition for reference number $key"); |
| 36 | 36 | } |
| 37 | 37 | return $value; |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | if (is_object($value) || is_resource($value)) { |
| 51 | 51 | return false; |
| 52 | 52 | } |
| 53 | - foreach($value as $subValue) { |
|
| 53 | + foreach ($value as $subValue) { |
|
| 54 | 54 | if (!$this->isValidReferenceValue($subValue)) { |
| 55 | 55 | return false; |
| 56 | 56 | } |