From 8db8f90edc108a18b62f2c773c692f1857a9584d Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 29 Jun 2016 07:40:45 +0200 Subject: [PATCH] fixed CS --- .../Form/ChoiceList/ORMQueryBuilderLoader.php | 2 +- .../Component/Config/Resource/FileResource.php | 2 +- .../Tests/Fixtures/php/services9.php | 8 ++++---- .../Tests/Fixtures/php/services9_compiled.php | 4 ++-- .../Intl/DateFormatter/IntlDateFormatter.php | 2 +- .../Validator/Context/ExecutionContextInterface.php | 12 ++++++------ .../Validator/Mapping/ClassMetadataInterface.php | 6 +++--- .../Validator/Mapping/PropertyMetadataInterface.php | 6 +++--- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php index 8253ef65fc..9531b892f2 100644 --- a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php +++ b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/ORMQueryBuilderLoader.php @@ -35,7 +35,7 @@ class ORMQueryBuilderLoader implements EntityLoaderInterface /** * Construct an ORM Query Builder Loader. * - * @param QueryBuilder $queryBuilder The query builder for creating the query builder. + * @param QueryBuilder $queryBuilder The query builder for creating the query builder */ public function __construct(QueryBuilder $queryBuilder) { diff --git a/src/Symfony/Component/Config/Resource/FileResource.php b/src/Symfony/Component/Config/Resource/FileResource.php index 54a974caef..05d59e075c 100644 --- a/src/Symfony/Component/Config/Resource/FileResource.php +++ b/src/Symfony/Component/Config/Resource/FileResource.php @@ -44,7 +44,7 @@ class FileResource implements SelfCheckingResourceInterface, \Serializable } /** - * @return string|false The canonicalized, absolute path to the resource or false if the resource does not exist. + * @return string|false The canonicalized, absolute path to the resource or false if the resource does not exist */ public function getResource() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php index 4b5a15e8d7..cde6104c86 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php @@ -114,7 +114,7 @@ class ProjectServiceContainer extends Container * This service is shared. * This method always returns the same instance of the service. * - * @return \stdClass A stdClass instance. + * @return \stdClass A stdClass instance */ protected function getConfiguredServiceSimpleService() { @@ -200,7 +200,7 @@ class ProjectServiceContainer extends Container * This service is shared. * This method always returns the same instance of the service. * - * @return \Bar A Bar instance. + * @return \Bar A Bar instance */ protected function getFactoryServiceSimpleService() { @@ -378,7 +378,7 @@ class ProjectServiceContainer extends Container * If you want to be able to request this service from the container directly, * make it public, otherwise you might end up with broken code. * - * @return \ConfClass A ConfClass instance. + * @return \ConfClass A ConfClass instance */ protected function getConfiguratorServiceSimpleService() { @@ -395,7 +395,7 @@ class ProjectServiceContainer extends Container * If you want to be able to request this service from the container directly, * make it public, otherwise you might end up with broken code. * - * @return \SimpleFactoryClass A SimpleFactoryClass instance. + * @return \SimpleFactoryClass A SimpleFactoryClass instance */ protected function getFactorySimpleService() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php index d27a099481..73247e2c75 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php @@ -122,7 +122,7 @@ class ProjectServiceContainer extends Container * This service is shared. * This method always returns the same instance of the service. * - * @return \stdClass A stdClass instance. + * @return \stdClass A stdClass instance */ protected function getConfiguredServiceSimpleService() { @@ -195,7 +195,7 @@ class ProjectServiceContainer extends Container * This service is shared. * This method always returns the same instance of the service. * - * @return \Bar A Bar instance. + * @return \Bar A Bar instance */ protected function getFactoryServiceSimpleService() { diff --git a/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php b/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php index ffced48b0b..7dcb58b289 100644 --- a/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php +++ b/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php @@ -189,7 +189,7 @@ class IntlDateFormatter /** * Format the date/time value (timestamp) as a string. * - * @param int|\DateTime $timestamp The timestamp to format. + * @param int|\DateTime $timestamp The timestamp to format * * @return string|bool The formatted value or false if formatting failed * diff --git a/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php b/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php index a4fd00d725..2079d22233 100644 --- a/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php +++ b/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php @@ -237,7 +237,7 @@ interface ExecutionContextInterface /** * Returns the violations generated by the validator so far. * - * @return ConstraintViolationListInterface The constraint violation list. + * @return ConstraintViolationListInterface The constraint violation list */ public function getViolations(); @@ -250,7 +250,7 @@ interface ExecutionContextInterface * * The current value is returned by {@link getValue}. * - * @return mixed The root value of the validation. + * @return mixed The root value of the validation */ public function getRoot(); @@ -260,7 +260,7 @@ interface ExecutionContextInterface * If you want to retrieve the object that was originally passed to the * validator, use {@link getRoot}. * - * @return mixed The currently validated value. + * @return mixed The currently validated value */ public function getValue(); @@ -285,7 +285,7 @@ interface ExecutionContextInterface /** * Returns the validation group that is currently being validated. * - * @return string The current validation group. + * @return string The current validation group */ public function getGroup(); @@ -296,7 +296,7 @@ interface ExecutionContextInterface * {@link Mapping\ClassMetadataInterface} or if no metadata is available for the * current node, this method returns null. * - * @return string|null The class name or null, if no class name could be found. + * @return string|null The class name or null, if no class name could be found */ public function getClassName(); @@ -307,7 +307,7 @@ interface ExecutionContextInterface * {@link PropertyMetadataInterface} or if no metadata is available for the * current node, this method returns null. * - * @return string|null The property name or null, if no property name could be found. + * @return string|null The property name or null, if no property name could be found */ public function getPropertyName(); diff --git a/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php b/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php index 0a3f2b1340..f76726f788 100644 --- a/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php +++ b/src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php @@ -79,7 +79,7 @@ interface ClassMetadataInterface extends MetadataInterface /** * Check if there's any metadata attached to the given named property. * - * @param string $property The property name. + * @param string $property The property name * * @return bool */ @@ -91,7 +91,7 @@ interface ClassMetadataInterface extends MetadataInterface * If your implementation does not support properties, simply throw an * exception in this method (for example a BadMethodCallException). * - * @param string $property The property name. + * @param string $property The property name * * @return PropertyMetadataInterface[] A list of metadata instances. Empty if * no metadata exists for the property. @@ -101,7 +101,7 @@ interface ClassMetadataInterface extends MetadataInterface /** * Returns the name of the backing PHP class. * - * @return string The name of the backing class. + * @return string The name of the backing class */ public function getClassName(); } diff --git a/src/Symfony/Component/Validator/Mapping/PropertyMetadataInterface.php b/src/Symfony/Component/Validator/Mapping/PropertyMetadataInterface.php index d5983e239d..dcb61cc432 100644 --- a/src/Symfony/Component/Validator/Mapping/PropertyMetadataInterface.php +++ b/src/Symfony/Component/Validator/Mapping/PropertyMetadataInterface.php @@ -34,16 +34,16 @@ interface PropertyMetadataInterface extends MetadataInterface /** * Returns the name of the property. * - * @return string The property name. + * @return string The property name */ public function getPropertyName(); /** * Extracts the value of the property from the given container. * - * @param mixed $containingValue The container to extract the property value from. + * @param mixed $containingValue The container to extract the property value from * - * @return mixed The value of the property. + * @return mixed The value of the property */ public function getPropertyValue($containingValue); }