Skip to content

Commit

Permalink
fixed types in phpdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 16, 2014
1 parent 885a96a commit acf818e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dumper.php
Expand Up @@ -21,7 +21,7 @@ class Dumper
/**
* The amount of spaces to use for indentation of nested nodes.
*
* @var integer
* @var int
*/
protected $indentation = 4;

Expand Down
4 changes: 2 additions & 2 deletions Escaper.php
Expand Up @@ -44,7 +44,7 @@ class Escaper
*
* @param string $value A PHP value
*
* @return Boolean True if the value would require double quotes.
* @return bool True if the value would require double quotes.
*/
public static function requiresDoubleQuoting($value)
{
Expand All @@ -68,7 +68,7 @@ public static function escapeWithDoubleQuotes($value)
*
* @param string $value A PHP value
*
* @return Boolean True if the value would require single quotes.
* @return bool True if the value would require single quotes.
*/
public static function requiresSingleQuoting($value)
{
Expand Down
2 changes: 1 addition & 1 deletion Exception/ParseException.php
Expand Up @@ -100,7 +100,7 @@ public function setParsedFile($parsedFile)
/**
* Gets the line where the error occurred.
*
* @return integer The file line
* @return int The file line
*/
public function getParsedLine()
{
Expand Down
18 changes: 9 additions & 9 deletions Parser.php
Expand Up @@ -261,7 +261,7 @@ public function parse($value, $exceptionOnInvalidType = false, $objectSupport =
/**
* Returns the current line number (takes the offset into account).
*
* @return integer The current line number
* @return int The current line number
*/
private function getRealCurrentLineNb()
{
Expand All @@ -271,7 +271,7 @@ private function getRealCurrentLineNb()
/**
* Returns the current line indentation.
*
* @return integer The current line indentation
* @return int The current line indentation
*/
private function getCurrentLineIndentation()
{
Expand Down Expand Up @@ -349,7 +349,7 @@ private function getNextEmbedBlock($indentation = null)
/**
* Moves the parser to the next line.
*
* @return Boolean
* @return bool
*/
private function moveToNextLine()
{
Expand Down Expand Up @@ -497,7 +497,7 @@ private function parseFoldedScalar($separator, $indicator = '', $indentation = 0
/**
* Returns true if the next line is indented.
*
* @return Boolean Returns true if the next line is indented, false otherwise
* @return bool Returns true if the next line is indented, false otherwise
*/
private function isNextLineIndented()
{
Expand Down Expand Up @@ -525,7 +525,7 @@ private function isNextLineIndented()
/**
* Returns true if the current line is blank or if it is a comment line.
*
* @return Boolean Returns true if the current line is empty or if it is a comment line, false otherwise
* @return bool Returns true if the current line is empty or if it is a comment line, false otherwise
*/
private function isCurrentLineEmpty()
{
Expand All @@ -535,7 +535,7 @@ private function isCurrentLineEmpty()
/**
* Returns true if the current line is blank.
*
* @return Boolean Returns true if the current line is blank, false otherwise
* @return bool Returns true if the current line is blank, false otherwise
*/
private function isCurrentLineBlank()
{
Expand All @@ -545,7 +545,7 @@ private function isCurrentLineBlank()
/**
* Returns true if the current line is a comment line.
*
* @return Boolean Returns true if the current line is a comment line, false otherwise
* @return bool Returns true if the current line is a comment line, false otherwise
*/
private function isCurrentLineComment()
{
Expand Down Expand Up @@ -596,7 +596,7 @@ private function cleanup($value)
/**
* Returns true if the next line starts unindented collection
*
* @return Boolean Returns true if the next line starts unindented collection, false otherwise
* @return bool Returns true if the next line starts unindented collection, false otherwise
*/
private function isNextLineUnIndentedCollection()
{
Expand Down Expand Up @@ -628,7 +628,7 @@ private function isNextLineUnIndentedCollection()
/**
* Returns true if the string is un-indented collection item
*
* @return Boolean Returns true if the string is un-indented collection item, false otherwise
* @return bool Returns true if the string is un-indented collection item, false otherwise
*/
private function isStringUnIndentedCollectionItem()
{
Expand Down

0 comments on commit acf818e

Please sign in to comment.