X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Fvalidator%2FConstraints%2FTypeValidator.php;fp=vendor%2Fsymfony%2Fvalidator%2FConstraints%2FTypeValidator.php;h=ea7562bfcf9a291573e7007c303b1b1720b2b3ef;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=5c31e3b38a1b1517ba3607e4e1f2e3d59942ceac;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/symfony/validator/Constraints/TypeValidator.php b/vendor/symfony/validator/Constraints/TypeValidator.php index 5c31e3b38..ea7562bfc 100644 --- a/vendor/symfony/validator/Constraints/TypeValidator.php +++ b/vendor/symfony/validator/Constraints/TypeValidator.php @@ -34,7 +34,7 @@ class TypeValidator extends ConstraintValidator } $type = strtolower($constraint->type); - $type = $type == 'boolean' ? 'bool' : $constraint->type; + $type = 'boolean' == $type ? 'bool' : $constraint->type; $isFunction = 'is_'.$type; $ctypeFunction = 'ctype_'.$type;