[CssSelector] fix phpdoc to match coding standards (int -> integer, bool -> Boolean).

This commit is contained in:
hhamon 2011-02-14 16:20:10 +01:00 committed by Fabien Potencier
parent 31b923ff55
commit 9a89b4628f
5 changed files with 26 additions and 26 deletions

View File

@ -28,9 +28,9 @@ class Token
/** /**
* Constructor. * Constructor.
* *
* @param string $type The type of this token. * @param string $type The type of this token.
* @param mixed $value The value of this token. * @param mixed $value The value of this token.
* @param int $position The order of this token. * @param integer $position The order of this token.
*/ */
public function __construct($type, $value, $position) public function __construct($type, $value, $position)
{ {
@ -40,7 +40,7 @@ class Token
} }
/** /**
* Get a string representation of this token. * Gets a string representation of this token.
* *
* @return string * @return string
*/ */
@ -54,7 +54,7 @@ class Token
* *
* @param string $type The type to test against this token's one. * @param string $type The type to test against this token's one.
* *
* @return bool * @return Boolean
*/ */
public function isType($type) public function isType($type)
{ {
@ -62,9 +62,9 @@ class Token
} }
/** /**
* Get the position of this token. * Gets the position of this token.
* *
* @return int * @return integer
*/ */
public function getPosition() public function getPosition()
{ {

View File

@ -43,7 +43,7 @@ class TokenStream
} }
/** /**
* Get the tokens that have already been visited in this stream. * Gets the tokens that have already been visited in this stream.
* *
* @return array * @return array
*/ */
@ -53,7 +53,7 @@ class TokenStream
} }
/** /**
* Get the next token in the stream or null if there is none. * Gets the next token in the stream or null if there is none.
* Note that if this stream was set to be peeking its behavior * Note that if this stream was set to be peeking its behavior
* will be restored to not peeking after this operation. * will be restored to not peeking after this operation.
* *

View File

@ -109,8 +109,8 @@ class Tokenizer
* *
* @throws SyntaxError When expected closing is not found * @throws SyntaxError When expected closing is not found
* *
* @param string $s The selector string containing the quoted string. * @param string $s The selector string containing the quoted string.
* @param int $pos The starting position for the quoted string. * @param integer $pos The starting position for the quoted string.
* *
* @return array * @return array
*/ */
@ -172,8 +172,8 @@ class Tokenizer
* *
* @throws SyntaxError When Unexpected symbol is found * @throws SyntaxError When Unexpected symbol is found
* *
* @param string $s The selector string. * @param string $s The selector string.
* @param int $pos The position in $s at which the symbol starts. * @param integer $pos The position in $s at which the symbol starts.
* *
* @return array * @return array
*/ */

View File

@ -30,11 +30,11 @@ class XPathExpr
/** /**
* Constructor. * Constructor.
* *
* @param string $prefix Prefix for the XPath expression. * @param string $prefix Prefix for the XPath expression.
* @param string $path Actual path of the expression. * @param string $path Actual path of the expression.
* @param string $element The element in the expression. * @param string $element The element in the expression.
* @param string $condition A condition for the expression. * @param string $condition A condition for the expression.
* @param bool $starPrefix Indicates whether to use a star prefix. * @param Boolean $starPrefix Indicates whether to use a star prefix.
*/ */
public function __construct($prefix = null, $path = null, $element = '*', $condition = null, $starPrefix = false) public function __construct($prefix = null, $path = null, $element = '*', $condition = null, $starPrefix = false)
{ {
@ -46,7 +46,7 @@ class XPathExpr
} }
/** /**
* Get the prefix of this XPath expression. * Gets the prefix of this XPath expression.
* *
* @return string * @return string
*/ */
@ -56,7 +56,7 @@ class XPathExpr
} }
/** /**
* Get the path of this XPath expression. * Gets the path of this XPath expression.
* *
* @return string * @return string
*/ */
@ -68,7 +68,7 @@ class XPathExpr
/** /**
* Answers whether this XPath expression has a star prefix. * Answers whether this XPath expression has a star prefix.
* *
* @return bool * @return Boolean
*/ */
public function hasStarPrefix() public function hasStarPrefix()
{ {
@ -76,7 +76,7 @@ class XPathExpr
} }
/** /**
* Get the element of this XPath expression. * Gets the element of this XPath expression.
* *
* @return string * @return string
*/ */
@ -86,7 +86,7 @@ class XPathExpr
} }
/** /**
* Get the condition of this XPath expression. * Gets the condition of this XPath expression.
* *
* @return string * @return string
*/ */
@ -96,7 +96,7 @@ class XPathExpr
} }
/** /**
* Get a string representation for this XPath expression. * Gets a string representation for this XPath expression.
* *
* @return string * @return string
*/ */
@ -213,7 +213,7 @@ class XPathExpr
} }
/** /**
* Get an XPath literal for $s. * Gets an XPath literal for $s.
* *
* @param mixed $s Can either be a Node\ElementNode or a string. * @param mixed $s Can either be a Node\ElementNode or a string.
* *

View File

@ -36,7 +36,7 @@ class XPathExprOr extends XPathExpr
} }
/** /**
* Get a string representation of this |'d expression. * Gets a string representation of this |'d expression.
* *
* @return string * @return string
*/ */