@@ -248,10 +248,10 @@ |
||
| 248 | 248 | $names = array(); |
| 249 | 249 | $descriptions = array(); |
| 250 | 250 | foreach ($objectStateGroup->languageCodes as $languageCode) { |
| 251 | - $names[$languageCode] = $objectStateGroup->getName($languageCode); |
|
| 251 | + $names[$languageCode] = $objectStateGroup->getName($languageCode); |
|
| 252 | 252 | } |
| 253 | 253 | foreach ($objectStateGroup->languageCodes as $languageCode) { |
| 254 | - $descriptions[$languageCode] = $objectStateGroup->getDescription($languageCode); |
|
| 254 | + $descriptions[$languageCode] = $objectStateGroup->getDescription($languageCode); |
|
| 255 | 255 | } |
| 256 | 256 | $groupData = array_merge( |
| 257 | 257 | $groupData, |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | // q2: why not just check for Countable interface instead of AbstractCollection? Or at least allow ArrayIterators and ObjectIterators |
| 38 | 38 | if (is_array($results) || $results instanceof AbstractCollection) { |
| 39 | 39 | $expectedResultsCount = $this->expectedResultsCount($step); |
| 40 | - switch($expectedResultsCount) { |
|
| 40 | + switch ($expectedResultsCount) { |
|
| 41 | 41 | case self::$EXPECT_UNSPECIFIED: |
| 42 | 42 | case self::$EXPECT_ANY: |
| 43 | 43 | break; |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | */ |
| 63 | 63 | protected function expectedResultsType($step) |
| 64 | 64 | { |
| 65 | - switch($this->expectedResultsCount($step)) { |
|
| 65 | + switch ($this->expectedResultsCount($step)) { |
|
| 66 | 66 | case 1: |
| 67 | 67 | return self::$RESULT_TYPE_SINGLE; |
| 68 | 68 | case 0: |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | |
| 105 | 105 | // BC |
| 106 | 106 | if (isset($step->dsl['references_type'])) { |
| 107 | - switch($step->dsl['references_type']) { |
|
| 107 | + switch ($step->dsl['references_type']) { |
|
| 108 | 108 | case 'array': |
| 109 | 109 | return self::$EXPECT_ANY; |
| 110 | 110 | case 'scalar': |