Fixed typos

This commit is contained in:
Pascal Borreli 2013-04-21 11:14:35 +00:00
parent b7e1c916ab
commit 6ef7f10628
3 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ EOF
if ((null !== $name) && ($optionsCount > 0)) {
throw new \InvalidArgumentException('The options tags, tag, parameters & parameter can not be combined with the service name argument.');
} elseif ((null === $name) && $optionsCount > 1) {
throw new \InvalidArgumentException('The options tags, tag, parameters & parameter can not be combied together.');
throw new \InvalidArgumentException('The options tags, tag, parameters & parameter can not be combined together.');
}
}

View File

@ -30,7 +30,7 @@ class SubRequestController extends ContainerAware
$content = $handler->render($errorUrl, 'inline', array('alt' => $altUrl));
// ...to check that the FragmentListener still references the right Request
// when rendering another fragment after the error occured
// when rendering another fragment after the error occurred
// should render en/html instead of fr/json
$content .= $handler->render(new ControllerReference('TestBundle:SubRequest:fragment'));

View File

@ -16,7 +16,7 @@ use Symfony\Component\Validator\ConstraintValidator;
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
/**
* Validates wether the value is a valid ISBN-10 or ISBN-13.
* Validates whether the value is a valid ISBN-10 or ISBN-13.
*
* @author The Whole Life To Learn <thewholelifetolearn@gmail.com>
*