[Yaml] fix some php documentation
This commit is contained in:
parent
f5f41696ec
commit
b5972f3447
|
@ -23,7 +23,7 @@ class Dumper
|
|||
*
|
||||
* @param mixed $input The PHP value
|
||||
* @param integer $inline The level where you switch to inline YAML
|
||||
* @param integer $indent The level o indentation indentation (used internally)
|
||||
* @param integer $indent The level of indentation (used internally)
|
||||
*
|
||||
* @return string The YAML representation of the PHP value
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,7 @@ class Inline
|
|||
const REGEX_QUOTED_STRING = '(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"|\'([^\']*(?:\'\'[^\']*)*)\')';
|
||||
|
||||
/**
|
||||
* Convert a YAML string to a PHP array.
|
||||
* Converts a YAML string to a PHP array.
|
||||
*
|
||||
* @param string $value A YAML string
|
||||
*
|
||||
|
@ -380,7 +380,7 @@ class Inline
|
|||
}
|
||||
|
||||
/**
|
||||
* Get a regex that match a unix timestamp
|
||||
* Gets a regex that matches an unix timestamp
|
||||
*
|
||||
* @return string The regular expression
|
||||
*/
|
||||
|
|
|
@ -293,6 +293,8 @@ class Parser
|
|||
|
||||
/**
|
||||
* Moves the parser to the next line.
|
||||
*
|
||||
* @return Boolean
|
||||
*/
|
||||
protected function moveToNextLine()
|
||||
{
|
||||
|
@ -320,7 +322,7 @@ class Parser
|
|||
*
|
||||
* @return mixed A PHP value
|
||||
*
|
||||
* @throws ParserException When reference doesn't not exist
|
||||
* @throws ParserException When reference does not exist
|
||||
*/
|
||||
protected function parseValue($value)
|
||||
{
|
||||
|
|
|
@ -58,7 +58,7 @@ class Yaml
|
|||
* print_r($array);
|
||||
* </code>
|
||||
*
|
||||
* @param string $input Path of YAML file or string containing YAML
|
||||
* @param string $input Path to a YAML file or a string containing YAML
|
||||
*
|
||||
* @return array The YAML converted to a PHP array
|
||||
*
|
||||
|
|
Reference in New Issue