fix some translations component phpdocs

This commit is contained in:
Gordon Franke 2012-01-24 10:12:17 +01:00
parent bcef85b948
commit 5bf1143f83
5 changed files with 11 additions and 9 deletions

View File

@ -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.
*/

View File

@ -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)

View File

@ -58,8 +58,8 @@ 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 \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