fix some translations component phpdocs
This commit is contained in:
parent
bcef85b948
commit
5bf1143f83
@ -25,9 +25,9 @@ interface LoaderInterface
|
|||||||
/**
|
/**
|
||||||
* Loads a locale.
|
* Loads a locale.
|
||||||
*
|
*
|
||||||
* @param mixed $resource A resource
|
* @param mixed $resource A resource
|
||||||
* @param string $locale A locale
|
* @param string $locale A locale
|
||||||
* @param string $domain The domain
|
* @param string $domain The domain
|
||||||
*
|
*
|
||||||
* @return MessageCatalogue A MessageCatalogue instance
|
* @return MessageCatalogue A MessageCatalogue instance
|
||||||
*
|
*
|
||||||
|
@ -65,7 +65,8 @@ class MoFileLoader extends ArrayLoader implements LoaderInterface
|
|||||||
* Parses machine object (MO) format, independent of the machine's endian it
|
* Parses machine object (MO) format, independent of the machine's endian it
|
||||||
* was created on. Both 32bit and 64bit systems are supported.
|
* was created on. Both 32bit and 64bit systems are supported.
|
||||||
*
|
*
|
||||||
* @param resource $stream
|
* @param resource $resource
|
||||||
|
*
|
||||||
* @return array
|
* @return array
|
||||||
* @throws InvalidArgumentException If stream content has an invalid format.
|
* @throws InvalidArgumentException If stream content has an invalid format.
|
||||||
*/
|
*/
|
||||||
|
@ -49,7 +49,8 @@ class PoFileLoader extends ArrayLoader implements LoaderInterface
|
|||||||
*
|
*
|
||||||
* Items with an empty id are ignored.
|
* Items with an empty id are ignored.
|
||||||
*
|
*
|
||||||
* @param resource $stream
|
* @param resource $resource
|
||||||
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
private function parse($resource)
|
private function parse($resource)
|
||||||
|
@ -58,9 +58,9 @@ class ResourceBundleLoader implements LoaderInterface
|
|||||||
*
|
*
|
||||||
* This function takes an array by reference and will modify it
|
* This function takes an array by reference and will modify it
|
||||||
*
|
*
|
||||||
* @param array \ResourceBundle $rb the ResourceBundle that will be flattened
|
* @param \ResourceBundle $rb the ResourceBundle that will be flattened
|
||||||
* @param array $messages used internally for recursive calls
|
* @param array &$messages used internally for recursive calls
|
||||||
* @param string $path current path being parsed, used internally for recursive calls
|
* @param string $path current path being parsed, used internally for recursive calls
|
||||||
*
|
*
|
||||||
* @return array the flattened ResourceBundle
|
* @return array the flattened ResourceBundle
|
||||||
*/
|
*/
|
||||||
|
@ -31,7 +31,7 @@ class TranslationWriter
|
|||||||
/**
|
/**
|
||||||
* Adds a dumper to the writer.
|
* 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
|
* @param DumperInterface $dumper The dumper
|
||||||
*/
|
*/
|
||||||
public function addDumper($format, DumperInterface $dumper)
|
public function addDumper($format, DumperInterface $dumper)
|
||||||
|
Reference in New Issue
Block a user