@@ -188,7 +188,7 @@ |
||
| 188 | 188 | */ |
| 189 | 189 | private function formatArrayForConsole($array) |
| 190 | 190 | { |
| 191 | - array_walk($array, function (&$value, $index) { |
|
| 191 | + array_walk($array, function(&$value, $index) { |
|
| 192 | 192 | $value = sprintf("%s: %s", $index, !is_array($value) ? $value : implode(', ', $value)); |
| 193 | 193 | }); |
| 194 | 194 | return $array; |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | if (!is_numeric($maxOccurs)) { |
| 116 | 116 | return AbstractAttributeHandler::DEFAULT_OCCURENCE_VALUE; |
| 117 | 117 | } |
| 118 | - return (int) $maxOccurs; |
|
| 118 | + return (int)$maxOccurs; |
|
| 119 | 119 | } |
| 120 | 120 | /** |
| 121 | 121 | * Info at {@link https://www.w3.org/TR/xmlschema-0/#OccurrenceConstraints} |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | if (!is_numeric($minOccurs)) { |
| 128 | 128 | return AbstractAttributeHandler::DEFAULT_OCCURENCE_VALUE; |
| 129 | 129 | } |
| 130 | - return (int) $minOccurs; |
|
| 130 | + return (int)$minOccurs; |
|
| 131 | 131 | } |
| 132 | 132 | /** |
| 133 | 133 | * Info at {@link https://www.w3.org/TR/xmlschema-0/#OccurrenceConstraints} |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | */ |
| 144 | 144 | public function canOccurOnlyOnce() |
| 145 | 145 | { |
| 146 | - return ($this->getMinOccurs() === 1) || ($this->getMaxOccurs() === 1); |
|
| 146 | + return ($this->getMinOccurs() === 1) || ($this->getMaxOccurs() === 1); |
|
| 147 | 147 | } |
| 148 | 148 | /** |
| 149 | 149 | * Info at {@link https://www.w3.org/TR/xmlschema-0/#OccurrenceConstraints} |