@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | } |
336 | 336 | catch (\Exception $e) { |
337 | 337 | throw new \InvalidArgumentEXception( |
338 | - "Trying to sum a ".get_class($value)." object which cannot be casted as a number. " |
|
338 | + "Trying to sum a ".get_class($value)." object which cannot be casted as a number. " |
|
339 | 339 | ."Please add a toNumber() method." |
340 | 340 | ); |
341 | 341 | } |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | else { |
344 | 344 | if ( ! method_exists($value, 'toNumber')) { |
345 | 345 | throw new \InvalidArgumentEXception( |
346 | - "Trying to sum a ".get_class($value)." object which cannot be casted as a number. " |
|
346 | + "Trying to sum a ".get_class($value)." object which cannot be casted as a number. " |
|
347 | 347 | ."Please add a toNumber() method." |
348 | 348 | ); |
349 | 349 | } |