diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php index 76abdaa701..0e79d79152 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php @@ -74,8 +74,8 @@ class RedirectController extends ContainerAware * @param string $path The absolute path or URL to redirect to * @param bool $permanent Whether the redirect is permanent or not * @param string|null $scheme The URL scheme (null to keep the current one) - * @param int |null $httpPort The HTTP port (null to keep the current one for the same scheme or the configured port in the container) - * @param int |null $httpsPort The HTTPS port (null to keep the current one for the same scheme or the configured port in the container) + * @param int|null $httpPort The HTTP port (null to keep the current one for the same scheme or the configured port in the container) + * @param int|null $httpsPort The HTTPS port (null to keep the current one for the same scheme or the configured port in the container) * * @return Response A Response instance * diff --git a/src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php b/src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php index 4c4dbcebdf..c596c6abe8 100644 --- a/src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php +++ b/src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php @@ -105,7 +105,7 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition /** * Adds children with a default value when none are defined. * - * @param int |string|array|null $children The number of children|The child name|The children names to be added + * @param int|string|array|null $children The number of children|The child name|The children names to be added * * This method is applicable to prototype nodes only. * diff --git a/src/Symfony/Component/Config/Definition/PrototypedArrayNode.php b/src/Symfony/Component/Config/Definition/PrototypedArrayNode.php index c96a35727b..6de5036475 100644 --- a/src/Symfony/Component/Config/Definition/PrototypedArrayNode.php +++ b/src/Symfony/Component/Config/Definition/PrototypedArrayNode.php @@ -124,7 +124,7 @@ class PrototypedArrayNode extends ArrayNode /** * Adds default children when none are set. * - * @param int |string|array|null $children The number of children|The child name|The children names to be added + * @param int|string|array|null $children The number of children|The child name|The children names to be added */ public function setAddChildrenIfNoneSet($children = array('defaults')) { diff --git a/src/Symfony/Component/Console/Helper/DialogHelper.php b/src/Symfony/Component/Console/Helper/DialogHelper.php index 36f96e8002..2227e196e2 100644 --- a/src/Symfony/Component/Console/Helper/DialogHelper.php +++ b/src/Symfony/Component/Console/Helper/DialogHelper.php @@ -32,7 +32,7 @@ class DialogHelper extends Helper * @param string|array $question The question to ask * @param array $choices List of choices to pick from * @param bool|string $default The default answer if the user enters nothing - * @param bool|integer $attempts Max number of times to ask before giving up (false by default, which means infinite) + * @param bool|int $attempts Max number of times to ask before giving up (false by default, which means infinite) * @param string $errorMessage Message which will be shown if invalid value from choice list would be picked * @param bool $multiselect Select more than one value separated by comma * diff --git a/src/Symfony/Component/Console/Helper/ProgressHelper.php b/src/Symfony/Component/Console/Helper/ProgressHelper.php index e3f1832d57..a494578bcd 100644 --- a/src/Symfony/Component/Console/Helper/ProgressHelper.php +++ b/src/Symfony/Component/Console/Helper/ProgressHelper.php @@ -178,7 +178,7 @@ class ProgressHelper extends Helper * Starts the progress output. * * @param OutputInterface $output An Output instance - * @param int |null $max Maximum steps + * @param int|null $max Maximum steps */ public function start(OutputInterface $output, $max = null) { diff --git a/src/Symfony/Component/Console/Input/Input.php b/src/Symfony/Component/Console/Input/Input.php index a881c03960..c74ed494ed 100644 --- a/src/Symfony/Component/Console/Input/Input.php +++ b/src/Symfony/Component/Console/Input/Input.php @@ -145,7 +145,7 @@ abstract class Input implements InputInterface /** * Returns true if an InputArgument object exists by name or position. * - * @param string|integer $name The InputArgument name or position + * @param string|int $name The InputArgument name or position * * @return Boolean true if the InputArgument object exists, false otherwise */ @@ -186,7 +186,7 @@ abstract class Input implements InputInterface * Sets an option value by name. * * @param string $name The option name - * @param string|boolean $value The option value + * @param string|bool $value The option value * * @throws \InvalidArgumentException When option given doesn't exist */ diff --git a/src/Symfony/Component/Console/Input/InputDefinition.php b/src/Symfony/Component/Console/Input/InputDefinition.php index b87b147521..f880b5df1a 100644 --- a/src/Symfony/Component/Console/Input/InputDefinition.php +++ b/src/Symfony/Component/Console/Input/InputDefinition.php @@ -148,7 +148,7 @@ class InputDefinition /** * Returns an InputArgument by name or by position. * - * @param string|integer $name The InputArgument name or position + * @param string|int $name The InputArgument name or position * * @return InputArgument An InputArgument object * @@ -170,7 +170,7 @@ class InputDefinition /** * Returns true if an InputArgument object exists by name or position. * - * @param string|integer $name The InputArgument name or position + * @param string|int $name The InputArgument name or position * * @return Boolean true if the InputArgument object exists, false otherwise * diff --git a/src/Symfony/Component/Console/Input/InputInterface.php b/src/Symfony/Component/Console/Input/InputInterface.php index 79ad8854fd..5b067457ac 100644 --- a/src/Symfony/Component/Console/Input/InputInterface.php +++ b/src/Symfony/Component/Console/Input/InputInterface.php @@ -95,7 +95,7 @@ interface InputInterface /** * Returns true if an InputArgument object exists by name or position. * - * @param string|integer $name The InputArgument name or position + * @param string|int $name The InputArgument name or position * * @return Boolean true if the InputArgument object exists, false otherwise */ @@ -121,7 +121,7 @@ interface InputInterface * Sets an option value by name. * * @param string $name The option name - * @param string|boolean $value The option value + * @param string|bool $value The option value * * @throws \InvalidArgumentException When option given doesn't exist */ diff --git a/src/Symfony/Component/Filesystem/Filesystem.php b/src/Symfony/Component/Filesystem/Filesystem.php index 92e02d680f..3097ba7d74 100644 --- a/src/Symfony/Component/Filesystem/Filesystem.php +++ b/src/Symfony/Component/Filesystem/Filesystem.php @@ -446,7 +446,7 @@ class Filesystem * * @param string $filename The file to be written to. * @param string $content The data to write into the file. - * @param null|integer $mode The file mode (octal). If null, file permissions are not modified + * @param null|int $mode The file mode (octal). If null, file permissions are not modified * Deprecated since version 2.3.12, to be removed in 3.0. * @throws IOException If the file cannot be written to. */ diff --git a/src/Symfony/Component/Finder/Adapter/AdapterInterface.php b/src/Symfony/Component/Finder/Adapter/AdapterInterface.php index 6d004909e0..4bebe8a2a6 100644 --- a/src/Symfony/Component/Finder/Adapter/AdapterInterface.php +++ b/src/Symfony/Component/Finder/Adapter/AdapterInterface.php @@ -94,7 +94,7 @@ interface AdapterInterface public function setFilters(array $filters); /** - * @param \Closure|integer $sort + * @param \Closure|int $sort * * @return AdapterInterface Current instance */ diff --git a/src/Symfony/Component/Finder/Iterator/SortableIterator.php b/src/Symfony/Component/Finder/Iterator/SortableIterator.php index 05c6a7e4ea..3bf5034d14 100644 --- a/src/Symfony/Component/Finder/Iterator/SortableIterator.php +++ b/src/Symfony/Component/Finder/Iterator/SortableIterator.php @@ -31,7 +31,7 @@ class SortableIterator implements \IteratorAggregate * Constructor. * * @param \Traversable $iterator The Iterator to filter - * @param int |callback $sort The sort type (SORT_BY_NAME, SORT_BY_TYPE, or a PHP callback) + * @param int|callback $sort The sort type (SORT_BY_NAME, SORT_BY_TYPE, or a PHP callback) * * @throws \InvalidArgumentException */ diff --git a/src/Symfony/Component/Form/ButtonBuilder.php b/src/Symfony/Component/Form/ButtonBuilder.php index 352ca88ea5..b89e01b02f 100644 --- a/src/Symfony/Component/Form/ButtonBuilder.php +++ b/src/Symfony/Component/Form/ButtonBuilder.php @@ -75,7 +75,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface * * This method should not be invoked. * - * @param string|integer|FormBuilderInterface $child + * @param string|int|FormBuilderInterface $child * @param string|FormTypeInterface $type * @param array $options * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php index 199c996f1b..2270240d20 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php @@ -55,7 +55,7 @@ class NumberToLocalizedStringTransformer implements DataTransformerInterface /** * Transforms a number type into localized number. * - * @param int |float $value Number value. + * @param int|float $value Number value. * * @return string Localized value. * diff --git a/src/Symfony/Component/Form/FormBuilderInterface.php b/src/Symfony/Component/Form/FormBuilderInterface.php index 1dc4a64e7b..c0eb8c32c7 100644 --- a/src/Symfony/Component/Form/FormBuilderInterface.php +++ b/src/Symfony/Component/Form/FormBuilderInterface.php @@ -23,7 +23,7 @@ interface FormBuilderInterface extends \Traversable, \Countable, FormConfigBuild * If you add a nested group, this group should also be represented in the * object hierarchy. * - * @param string|integer|FormBuilderInterface $child + * @param string|int|FormBuilderInterface $child * @param string|FormTypeInterface $type * @param array $options * diff --git a/src/Symfony/Component/Form/FormConfigBuilder.php b/src/Symfony/Component/Form/FormConfigBuilder.php index d73c403d98..99a9df2add 100644 --- a/src/Symfony/Component/Form/FormConfigBuilder.php +++ b/src/Symfony/Component/Form/FormConfigBuilder.php @@ -180,7 +180,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface /** * Creates an empty form configuration. * - * @param string|integer $name The form name + * @param string|int $name The form name * @param string $dataClass The class of the form's data * @param EventDispatcherInterface $dispatcher The event dispatcher * @param array $options The form options @@ -879,7 +879,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface /** * Validates whether the given variable is a valid form name. * - * @param string|integer $name The tested form name. + * @param string|int $name The tested form name. * * @throws UnexpectedTypeException If the name is not a string or an integer. * @throws InvalidArgumentException If the name contains invalid characters. diff --git a/src/Symfony/Component/Form/FormError.php b/src/Symfony/Component/Form/FormError.php index d9b23aa368..871db9c0dd 100644 --- a/src/Symfony/Component/Form/FormError.php +++ b/src/Symfony/Component/Form/FormError.php @@ -51,7 +51,7 @@ class FormError * @param string|null $messageTemplate The template for the error message * @param array $messageParameters The parameters that should be * substituted in the message template. - * @param int |null $messagePluralization The value for error message pluralization + * @param int|null $messagePluralization The value for error message pluralization * * @see \Symfony\Component\Translation\Translator */ diff --git a/src/Symfony/Component/Form/FormFactoryInterface.php b/src/Symfony/Component/Form/FormFactoryInterface.php index 31c46b55d7..220b470496 100644 --- a/src/Symfony/Component/Form/FormFactoryInterface.php +++ b/src/Symfony/Component/Form/FormFactoryInterface.php @@ -36,7 +36,7 @@ interface FormFactoryInterface * * @see createNamedBuilder() * - * @param string|integer $name The name of the form + * @param string|int $name The name of the form * @param string|FormTypeInterface $type The type of the form * @param mixed $data The initial data * @param array $options The options @@ -79,7 +79,7 @@ interface FormFactoryInterface /** * Returns a form builder. * - * @param string|integer $name The name of the form + * @param string|int $name The name of the form * @param string|FormTypeInterface $type The type of the form * @param mixed $data The initial data * @param array $options The options diff --git a/src/Symfony/Component/Form/FormInterface.php b/src/Symfony/Component/Form/FormInterface.php index 5ffe76d1ce..f5a575e69f 100644 --- a/src/Symfony/Component/Form/FormInterface.php +++ b/src/Symfony/Component/Form/FormInterface.php @@ -41,7 +41,7 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable /** * Adds or replaces a child to the form. * - * @param FormInterface|string|integer $child The FormInterface instance or the name of the child. + * @param FormInterface|string|int $child The FormInterface instance or the name of the child. * @param string|null $type The child's type, if a name was passed. * @param array $options The child's options, if a name was passed. * diff --git a/src/Symfony/Component/HttpFoundation/Cookie.php b/src/Symfony/Component/HttpFoundation/Cookie.php index 6dffbc92cf..ab4e894c47 100644 --- a/src/Symfony/Component/HttpFoundation/Cookie.php +++ b/src/Symfony/Component/HttpFoundation/Cookie.php @@ -33,7 +33,7 @@ class Cookie * * @param string $name The name of the cookie * @param string $value The value of the cookie - * @param int |string|\DateTime $expire The time the cookie expires + * @param int|string|\DateTime $expire The time the cookie expires * @param string $path The path on the server in which the cookie will be available on * @param string $domain The domain that the cookie is available to * @param bool $secure Whether the cookie should only be transmitted over a secure HTTPS connection from the client diff --git a/src/Symfony/Component/HttpKernel/Exception/TooManyRequestsHttpException.php b/src/Symfony/Component/HttpKernel/Exception/TooManyRequestsHttpException.php index cd0702bf0f..22f6dd587a 100644 --- a/src/Symfony/Component/HttpKernel/Exception/TooManyRequestsHttpException.php +++ b/src/Symfony/Component/HttpKernel/Exception/TooManyRequestsHttpException.php @@ -22,7 +22,7 @@ class TooManyRequestsHttpException extends HttpException /** * Constructor. * - * @param int |string $retryAfter The number of seconds or HTTP-date after which the request may be retried + * @param int|string $retryAfter The number of seconds or HTTP-date after which the request may be retried * @param string $message The internal exception message * @param \Exception $previous The previous exception * @param int $code The internal exception code diff --git a/src/Symfony/Component/HttpKernel/Profiler/MongoDbProfilerStorage.php b/src/Symfony/Component/HttpKernel/Profiler/MongoDbProfilerStorage.php index 1180660e2f..9be3410dba 100644 --- a/src/Symfony/Component/HttpKernel/Profiler/MongoDbProfilerStorage.php +++ b/src/Symfony/Component/HttpKernel/Profiler/MongoDbProfilerStorage.php @@ -87,7 +87,7 @@ class MongoDbProfilerStorage implements ProfilerStorageInterface $result = $this->getMongo()->update(array('_id' => $profile->getToken()), array_filter($record, function ($v) { return !empty($v); }), array('upsert' => true)); - return (boolean) (isset($result['ok']) ? $result['ok'] : $result); + return (bool) (isset($result['ok']) ? $result['ok'] : $result); } /** diff --git a/src/Symfony/Component/HttpKernel/Tests/Profiler/Mock/MemcacheMock.php b/src/Symfony/Component/HttpKernel/Tests/Profiler/Mock/MemcacheMock.php index 9e51c051f3..d0e37c294d 100644 --- a/src/Symfony/Component/HttpKernel/Tests/Profiler/Mock/MemcacheMock.php +++ b/src/Symfony/Component/HttpKernel/Tests/Profiler/Mock/MemcacheMock.php @@ -168,7 +168,7 @@ class MemcacheMock * Retrieve item from the server. * * @param string|array $key - * @param int |array $flags + * @param int|array $flags * * @return mixed */ diff --git a/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php b/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php index 752d65c0c9..9dbb332acb 100644 --- a/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php +++ b/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php @@ -187,7 +187,7 @@ class IntlDateFormatter /** * Format the date/time value (timestamp) as a string * - * @param int |\DateTime $timestamp The timestamp to format. \DateTime objects + * @param int|\DateTime $timestamp The timestamp to format. \DateTime objects * are supported as of PHP 5.3.4. * * @return string|Boolean The formatted value or false if formatting failed. diff --git a/src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php b/src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php index 62b2aa0cc9..52d44885b6 100644 --- a/src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php +++ b/src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php @@ -693,7 +693,7 @@ class NumberFormatter /** * Rounds a value. * - * @param int |float $value The value to round + * @param int|float $value The value to round * @param int $precision The number of decimal digits to round to * * @return integer|float The rounded value @@ -711,7 +711,7 @@ class NumberFormatter /** * Formats a number. * - * @param int |float $value The numeric value to format + * @param int|float $value The numeric value to format * @param int $precision The number of decimal digits to use * * @return string The formatted number @@ -726,7 +726,7 @@ class NumberFormatter /** * Returns the precision value if the DECIMAL style is being used and the FRACTION_DIGITS attribute is unitialized. * - * @param int |float $value The value to get the precision from if the FRACTION_DIGITS attribute is unitialized + * @param int|float $value The value to get the precision from if the FRACTION_DIGITS attribute is unitialized * @param int $precision The precision value to returns if the FRACTION_DIGITS attribute is initialized * * @return int The precision value diff --git a/src/Symfony/Component/Intl/Util/IcuVersion.php b/src/Symfony/Component/Intl/Util/IcuVersion.php index 92faf37aa3..f12b8ab602 100644 --- a/src/Symfony/Component/Intl/Util/IcuVersion.php +++ b/src/Symfony/Component/Intl/Util/IcuVersion.php @@ -46,7 +46,7 @@ class IcuVersion * @param string $version1 A version string. * @param string $version2 A version string to compare. * @param string $operator The comparison operator. - * @param int |null $precision The number of components to compare. Pass + * @param int|null $precision The number of components to compare. Pass * NULL to compare the versions unchanged. * * @return Boolean Whether the comparison succeeded. @@ -81,7 +81,7 @@ class IcuVersion * // => '12.3' * * @param string $version An ICU version string. - * @param int |null $precision The number of components to include. Pass + * @param int|null $precision The number of components to include. Pass * NULL to return the version unchanged. * * @return string|null The normalized ICU version or NULL if it couldn't be diff --git a/src/Symfony/Component/Intl/Util/Version.php b/src/Symfony/Component/Intl/Util/Version.php index c85e9d4090..0afb4f2511 100644 --- a/src/Symfony/Component/Intl/Util/Version.php +++ b/src/Symfony/Component/Intl/Util/Version.php @@ -36,7 +36,7 @@ class Version * @param string $version1 A version string. * @param string $version2 A version string to compare. * @param string $operator The comparison operator. - * @param int |null $precision The number of components to compare. Pass + * @param int|null $precision The number of components to compare. Pass * NULL to compare the versions unchanged. * * @return Boolean Whether the comparison succeeded. @@ -64,7 +64,7 @@ class Version * // => '1.2' * * @param string $version A version string. - * @param int |null $precision The number of components to include. Pass + * @param int|null $precision The number of components to include. Pass * NULL to return the version unchanged. * * @return string|null The normalized version or NULL if it couldn't be diff --git a/src/Symfony/Component/Process/Process.php b/src/Symfony/Component/Process/Process.php index 362c2a7e5f..850a8799bd 100644 --- a/src/Symfony/Component/Process/Process.php +++ b/src/Symfony/Component/Process/Process.php @@ -123,7 +123,7 @@ class Process * @param string|null $cwd The working directory or null to use the working dir of the current PHP process * @param array|null $env The environment variables or null to inherit * @param string|null $stdin The STDIN content - * @param int |float|null $timeout The timeout in seconds or null to disable + * @param int|float|null $timeout The timeout in seconds or null to disable * @param array $options An array of options for proc_open * * @throws RuntimeException When proc_open is not installed @@ -646,7 +646,7 @@ class Process /** * Stops the process. * - * @param int |float $timeout The timeout in seconds + * @param int|float $timeout The timeout in seconds * @param int $signal A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL * * @return integer The exit-code of the process @@ -746,7 +746,7 @@ class Process * * To disable the timeout, set this value to null. * - * @param int |float|null $timeout The timeout in seconds + * @param int|float|null $timeout The timeout in seconds * * @return self The current Process instance * diff --git a/src/Symfony/Component/PropertyAccess/PropertyAccessor.php b/src/Symfony/Component/PropertyAccess/PropertyAccessor.php index b3229d5461..8a1fe5f7da 100644 --- a/src/Symfony/Component/PropertyAccess/PropertyAccessor.php +++ b/src/Symfony/Component/PropertyAccess/PropertyAccessor.php @@ -142,7 +142,7 @@ class PropertyAccessor implements PropertyAccessorInterface * Reads a key from an array-like structure. * * @param \ArrayAccess|array $array The array or \ArrayAccess object to read from - * @param string|integer $index The key to read + * @param string|int $index The key to read * * @return mixed The value of the key * @@ -254,7 +254,7 @@ class PropertyAccessor implements PropertyAccessorInterface * Sets the value of the property at the given index in the path * * @param \ArrayAccess|array $array An array or \ArrayAccess object to write to - * @param string|integer $index The index to write at + * @param string|int $index The index to write at * @param mixed $value The value to write * * @throws NoSuchPropertyException If the array does not implement \ArrayAccess or it is not an array diff --git a/src/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.php b/src/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.php index 7b0f4bc68e..6efe0ff819 100644 --- a/src/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.php +++ b/src/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.php @@ -415,7 +415,7 @@ class MutableAclProvider extends AclProvider implements MutableAclProviderInterf * Constructs the SQL for inserting an ACE. * * @param int $classId - * @param int |null $objectIdentityId + * @param int|null $objectIdentityId * @param string|null $field * @param int $aceOrder * @param int $securityIdentityId diff --git a/src/Symfony/Component/Stopwatch/StopwatchEvent.php b/src/Symfony/Component/Stopwatch/StopwatchEvent.php index 1ffcb34010..6d2a3baee4 100644 --- a/src/Symfony/Component/Stopwatch/StopwatchEvent.php +++ b/src/Symfony/Component/Stopwatch/StopwatchEvent.php @@ -213,7 +213,7 @@ class StopwatchEvent /** * Formats a time. * - * @param int |float $time A raw time + * @param int|float $time A raw time * * @return float The formatted time * diff --git a/src/Symfony/Component/Validator/ConstraintViolation.php b/src/Symfony/Component/Validator/ConstraintViolation.php index 05e9d6ad91..adfca6349b 100644 --- a/src/Symfony/Component/Validator/ConstraintViolation.php +++ b/src/Symfony/Component/Validator/ConstraintViolation.php @@ -72,7 +72,7 @@ class ConstraintViolation implements ConstraintViolationInterface * value. * @param mixed $invalidValue The invalid value causing the * violation. - * @param int |null $messagePluralization The pluralization parameter. + * @param int|null $messagePluralization The pluralization parameter. * @param mixed $code The error code of the * violation, if any. */ diff --git a/src/Symfony/Component/Validator/ExecutionContextInterface.php b/src/Symfony/Component/Validator/ExecutionContextInterface.php index d50d3c7c59..00b9f0d2cc 100644 --- a/src/Symfony/Component/Validator/ExecutionContextInterface.php +++ b/src/Symfony/Component/Validator/ExecutionContextInterface.php @@ -91,8 +91,8 @@ interface ExecutionContextInterface * @param string $message The error message. * @param array $params The parameters substituted in the error message. * @param mixed $invalidValue The invalid, validated value. - * @param int |null $pluralization The number to use to pluralize of the message. - * @param int |null $code The violation code. + * @param int|null $pluralization The number to use to pluralize of the message. + * @param int|null $code The violation code. * * @api */ @@ -106,8 +106,8 @@ interface ExecutionContextInterface * @param string $message The error message. * @param array $params The parameters substituted in the error message. * @param mixed $invalidValue The invalid, validated value. - * @param int |null $pluralization The number to use to pluralize of the message. - * @param int |null $code The violation code. + * @param int|null $pluralization The number to use to pluralize of the message. + * @param int|null $code The violation code. * * @api */