diff --git a/src/Symfony/Component/Translation/Loader/LoaderInterface.php b/src/Symfony/Component/Translation/Loader/LoaderInterface.php index 477259ed78..860239032f 100644 --- a/src/Symfony/Component/Translation/Loader/LoaderInterface.php +++ b/src/Symfony/Component/Translation/Loader/LoaderInterface.php @@ -25,9 +25,9 @@ interface LoaderInterface /** * Loads a locale. * - * @param mixed $resource A resource - * @param string $locale A locale - * @param string $domain The domain + * @param mixed $resource A resource + * @param string $locale A locale + * @param string $domain The domain * * @return MessageCatalogue A MessageCatalogue instance * diff --git a/src/Symfony/Component/Translation/Loader/MoFileLoader.php b/src/Symfony/Component/Translation/Loader/MoFileLoader.php index 8edfb0c325..104dedc725 100644 --- a/src/Symfony/Component/Translation/Loader/MoFileLoader.php +++ b/src/Symfony/Component/Translation/Loader/MoFileLoader.php @@ -65,7 +65,8 @@ class MoFileLoader extends ArrayLoader implements LoaderInterface * Parses machine object (MO) format, independent of the machine's endian it * was created on. Both 32bit and 64bit systems are supported. * - * @param resource $stream + * @param resource $resource + * * @return array * @throws InvalidArgumentException If stream content has an invalid format. */ diff --git a/src/Symfony/Component/Translation/Loader/PoFileLoader.php b/src/Symfony/Component/Translation/Loader/PoFileLoader.php index 1c771a6d6c..c51b67df38 100644 --- a/src/Symfony/Component/Translation/Loader/PoFileLoader.php +++ b/src/Symfony/Component/Translation/Loader/PoFileLoader.php @@ -49,7 +49,8 @@ class PoFileLoader extends ArrayLoader implements LoaderInterface * * Items with an empty id are ignored. * - * @param resource $stream + * @param resource $resource + * * @return array */ private function parse($resource) diff --git a/src/Symfony/Component/Translation/Loader/ResourceBundleLoader.php b/src/Symfony/Component/Translation/Loader/ResourceBundleLoader.php index 65d7dfb14e..726b82b59d 100644 --- a/src/Symfony/Component/Translation/Loader/ResourceBundleLoader.php +++ b/src/Symfony/Component/Translation/Loader/ResourceBundleLoader.php @@ -58,9 +58,9 @@ class ResourceBundleLoader implements LoaderInterface * * This function takes an array by reference and will modify it * - * @param array \ResourceBundle $rb the ResourceBundle that will be flattened - * @param array $messages used internally for recursive calls - * @param string $path current path being parsed, used internally for recursive calls + * @param \ResourceBundle $rb the ResourceBundle that will be flattened + * @param array &$messages used internally for recursive calls + * @param string $path current path being parsed, used internally for recursive calls * * @return array the flattened ResourceBundle */ diff --git a/src/Symfony/Component/Translation/Writer/TranslationWriter.php b/src/Symfony/Component/Translation/Writer/TranslationWriter.php index 16f1028f30..4d68ce5230 100644 --- a/src/Symfony/Component/Translation/Writer/TranslationWriter.php +++ b/src/Symfony/Component/Translation/Writer/TranslationWriter.php @@ -31,7 +31,7 @@ class TranslationWriter /** * Adds a dumper to the writer. * - * @param string $format The format of the dumper + * @param string $format The format of the dumper * @param DumperInterface $dumper The dumper */ public function addDumper($format, DumperInterface $dumper)