Completed
Push — master ( 2ef450...066f2f )
by Tim
08:17 queued 01:39
created
Category
src/Chunk.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.