Fixed typos
This commit is contained in:
parent
b7e1c916ab
commit
6ef7f10628
|
@ -151,7 +151,7 @@ EOF
|
||||||
if ((null !== $name) && ($optionsCount > 0)) {
|
if ((null !== $name) && ($optionsCount > 0)) {
|
||||||
throw new \InvalidArgumentException('The options tags, tag, parameters & parameter can not be combined with the service name argument.');
|
throw new \InvalidArgumentException('The options tags, tag, parameters & parameter can not be combined with the service name argument.');
|
||||||
} elseif ((null === $name) && $optionsCount > 1) {
|
} 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.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ class SubRequestController extends ContainerAware
|
||||||
$content = $handler->render($errorUrl, 'inline', array('alt' => $altUrl));
|
$content = $handler->render($errorUrl, 'inline', array('alt' => $altUrl));
|
||||||
|
|
||||||
// ...to check that the FragmentListener still references the right Request
|
// ...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
|
// should render en/html instead of fr/json
|
||||||
$content .= $handler->render(new ControllerReference('TestBundle:SubRequest:fragment'));
|
$content .= $handler->render(new ControllerReference('TestBundle:SubRequest:fragment'));
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ use Symfony\Component\Validator\ConstraintValidator;
|
||||||
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
|
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>
|
* @author The Whole Life To Learn <thewholelifetolearn@gmail.com>
|
||||||
*
|
*
|
||||||
|
|
Reference in New Issue