Permalink
Browse files

Added missing quote for `UnexpectedTypeException `

  • Loading branch information...
1 parent 0a7a75b commit f9897803774b8b6f383aeabca8f4b44744e48f97 @stloyd stloyd committed Jun 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Exception/UnexpectedTypeException.php
View
2 Exception/UnexpectedTypeException.php
@@ -15,6 +15,6 @@ class UnexpectedTypeException extends FormException
{
public function __construct($value, $expectedType)
{
- parent::__construct(sprintf('Expected argument of type %s, %s given', $expectedType, is_object($value) ? get_class($value) : gettype($value)));
+ parent::__construct(sprintf('Expected argument of type "%s", "%s" given', $expectedType, is_object($value) ? get_class($value) : gettype($value)));
}
}

0 comments on commit f989780

Please sign in to comment.