Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 21 lines (17 sloc) 0.528 kb
c56d28d @fabpot renamed Symfony\Components to Symfony\Component
fabpot authored
1 <?php
2
06fcab5 @fabpot [Validation] fixed license
fabpot authored
3 /*
64e1cf2 @blue-eyes normalized license messages in PHP files
blue-eyes authored
4 * This file is part of the Symfony package.
06fcab5 @fabpot [Validation] fixed license
fabpot authored
5 *
fec10a4 @fabpot replaced symfony-project.org by symfony.com
fabpot authored
6 * (c) Fabien Potencier <fabien@symfony.com>
06fcab5 @fabpot [Validation] fixed license
fabpot authored
7 *
64e1cf2 @blue-eyes normalized license messages in PHP files
blue-eyes authored
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
06fcab5 @fabpot [Validation] fixed license
fabpot authored
10 */
11
64e1cf2 @blue-eyes normalized license messages in PHP files
blue-eyes authored
12 namespace Symfony\Component\Validator\Exception;
13
c56d28d @fabpot renamed Symfony\Components to Symfony\Component
fabpot authored
14 class UnexpectedTypeException extends ValidatorException
15 {
16 public function __construct($value, $expectedType)
17 {
18 parent::__construct(sprintf('Expected argument of type %s, %s given', $expectedType, gettype($value)));
19 }
2d8d332 @fabpot fixed CS
fabpot authored
20 }
Something went wrong with that request. Please try again.