Skip to content

Loading…

fix some translations component phpdocs #3176

Merged
merged 1 commit into from

2 participants

@gimler

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes

@fabpot fabpot added a commit that referenced this pull request
@fabpot fabpot merged branch gimler/fix_phpdocs (PR #3176)
Commits
-------

5bf1143 fix some translations component phpdocs

Discussion
----------

fix some translations component phpdocs

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
06da573
@fabpot fabpot merged commit 5bf1143 into symfony:master
@mmucklo mmucklo pushed a commit that referenced this pull request
@fabpot fabpot merged branch gimler/fix_phpdocs (PR #3176)
Commits
-------

5bf1143 fix some translations component phpdocs

Discussion
----------

fix some translations component phpdocs

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
da5f41c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 24, 2012
  1. @gimler
View
6 src/Symfony/Component/Translation/Loader/LoaderInterface.php
@@ -25,9 +25,9 @@
/**
* 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
*
View
3 src/Symfony/Component/Translation/Loader/MoFileLoader.php
@@ -65,7 +65,8 @@ public function load($resource, $locale, $domain = 'messages')
* 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.
*/
View
3 src/Symfony/Component/Translation/Loader/PoFileLoader.php
@@ -49,7 +49,8 @@ public function load($resource, $locale, $domain = 'messages')
*
* Items with an empty id are ignored.
*
- * @param resource $stream
+ * @param resource $resource
+ *
* @return array
*/
private function parse($resource)
View
6 src/Symfony/Component/Translation/Loader/ResourceBundleLoader.php
@@ -58,9 +58,9 @@ public function load($resource, $locale, $domain = 'messages')
*
* 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
*/
View
2 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)
Something went wrong with that request. Please try again.