From f5886107226b9f7eaafc1b0e3e636f11fdc8e379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dariusz=20Rumi=C5=84ski?= Date: Sun, 7 Dec 2014 19:24:30 +0100 Subject: [PATCH] fix phpdoc's alignment --- .../Bridge/Propel1/Form/Type/TranslationType.php | 4 ++-- .../Form/Extension/Core/ChoiceList/ChoiceList.php | 14 +++++++------- .../Provider/AuthenticationProviderInterface.php | 14 +++++++------- .../Component/Serializer/Encoder/XmlEncoder.php | 2 +- .../Tests/Normalizer/TestDenormalizer.php | 8 ++++---- .../Serializer/Tests/Normalizer/TestNormalizer.php | 8 ++++---- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/Symfony/Bridge/Propel1/Form/Type/TranslationType.php b/src/Symfony/Bridge/Propel1/Form/Type/TranslationType.php index 8315b4f347..6881476533 100644 --- a/src/Symfony/Bridge/Propel1/Form/Type/TranslationType.php +++ b/src/Symfony/Bridge/Propel1/Form/Type/TranslationType.php @@ -24,8 +24,8 @@ use Symfony\Bridge\Propel1\Form\EventListener\TranslationFormListener; class TranslationType extends AbstractType { /** - * {@inheritdoc} - */ + * {@inheritdoc} + */ public function buildForm(FormBuilderInterface $builder, array $options) { $builder->addEventSubscriber( diff --git a/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php b/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php index 02b59f6822..358cc4cd17 100644 --- a/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php +++ b/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php @@ -495,14 +495,14 @@ class ChoiceList implements ChoiceListInterface } /** - * Fixes the data type of the given choices to avoid comparison problems. + * Fixes the data type of the given choices to avoid comparison problems. * - * @param array $choices The choices. - * - * @return array The fixed choices. - * - * @see fixChoice - */ + * @param array $choices The choices. + * + * @return array The fixed choices. + * + * @see fixChoice + */ protected function fixChoices(array $choices) { return $choices; diff --git a/src/Symfony/Component/Security/Core/Authentication/Provider/AuthenticationProviderInterface.php b/src/Symfony/Component/Security/Core/Authentication/Provider/AuthenticationProviderInterface.php index 401df6da64..8007234175 100644 --- a/src/Symfony/Component/Security/Core/Authentication/Provider/AuthenticationProviderInterface.php +++ b/src/Symfony/Component/Security/Core/Authentication/Provider/AuthenticationProviderInterface.php @@ -24,12 +24,12 @@ use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterfac */ interface AuthenticationProviderInterface extends AuthenticationManagerInterface { - /** - * Checks whether this provider supports the given token. - * - * @param TokenInterface $token A TokenInterface instance - * - * @return bool true if the implementation supports the Token, false otherwise - */ + /** + * Checks whether this provider supports the given token. + * + * @param TokenInterface $token A TokenInterface instance + * + * @return bool true if the implementation supports the Token, false otherwise + */ public function supports(TokenInterface $token); } diff --git a/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php b/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php index 43cbfd591e..25f07f40e9 100644 --- a/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php +++ b/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php @@ -114,7 +114,7 @@ class XmlEncoder extends SerializerAwareEncoder implements EncoderInterface, Dec return $this->parseXml($xml); } - /** + /** * Checks whether the serializer can encode to given format * * @param string $format format name diff --git a/src/Symfony/Component/Serializer/Tests/Normalizer/TestDenormalizer.php b/src/Symfony/Component/Serializer/Tests/Normalizer/TestDenormalizer.php index e881ad1397..7525d5c928 100644 --- a/src/Symfony/Component/Serializer/Tests/Normalizer/TestDenormalizer.php +++ b/src/Symfony/Component/Serializer/Tests/Normalizer/TestDenormalizer.php @@ -21,15 +21,15 @@ use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; class TestDenormalizer implements DenormalizerInterface { /** - * {@inheritdoc} - */ + * {@inheritdoc} + */ public function denormalize($data, $class, $format = null, array $context = array()) { } /** - * {@inheritdoc} - */ + * {@inheritdoc} + */ public function supportsDenormalization($data, $type, $format = null) { return true; diff --git a/src/Symfony/Component/Serializer/Tests/Normalizer/TestNormalizer.php b/src/Symfony/Component/Serializer/Tests/Normalizer/TestNormalizer.php index 4c000b3eb4..4b29e8fa5d 100644 --- a/src/Symfony/Component/Serializer/Tests/Normalizer/TestNormalizer.php +++ b/src/Symfony/Component/Serializer/Tests/Normalizer/TestNormalizer.php @@ -21,15 +21,15 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface; class TestNormalizer implements NormalizerInterface { /** - * {@inheritdoc} - */ + * {@inheritdoc} + */ public function normalize($object, $format = null, array $context = array()) { } /** - * {@inheritdoc} - */ + * {@inheritdoc} + */ public function supportsNormalization($data, $format = null) { return true;