@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | if (!$xml->hasAttribute($name)) { |
166 | 166 | Assert::nullOrStringNotEmpty( |
167 | 167 | $default, |
168 | - 'Missing \'' . $name . '\' attribute on ' . $xml->prefix . ':' . $xml->localName . '.', |
|
168 | + 'Missing \'' . $name . '\' attribute on ' . $xml->prefix . ':' . $xml->localName . '.', |
|
169 | 169 | MissingAttributeException::class |
170 | 170 | ); |
171 | 171 | |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | Assert::oneOf( |
194 | 194 | $value, |
195 | 195 | ['0', '1', 'false', 'true'], |
196 | - 'The \'' . $name . '\' attribute of ' . $xml->prefix . ':' . $xml->localName . ' must be boolean.' |
|
196 | + 'The \'' . $name . '\' attribute of ' . $xml->prefix . ':' . $xml->localName . ' must be boolean.' |
|
197 | 197 | ); |
198 | 198 | |
199 | 199 | return in_array($value, ['1', 'true'], true); |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | |
220 | 220 | Assert::numeric( |
221 | 221 | $value, |
222 | - 'The \'' . $name . '\' attribute of ' . $xml->prefix . ':' . $xml->localName . ' must be numerical.' |
|
222 | + 'The \'' . $name . '\' attribute of ' . $xml->prefix . ':' . $xml->localName . ' must be numerical.' |
|
223 | 223 | ); |
224 | 224 | |
225 | 225 | return intval($value); |