Correct doc blocks according to cs guidelines.

Remove superfluous empty lines.
This commit is contained in:
euromark 2014-07-03 15:36:42 +02:00
parent 65d14c7e97
commit 974ca851c2
271 changed files with 1383 additions and 1528 deletions

View file

@ -159,7 +159,7 @@ class Hash {
*
* @param string $key The key in the array being searched.
* @param string $token The token being matched.
* @return boolean
* @return bool
*/
protected static function _matchToken($key, $token) {
if ($token === '{n}') {
@ -179,7 +179,7 @@ class Hash {
*
* @param array $data Array of data to match.
* @param string $selector The patterns to match.
* @return boolean Fitness of expression.
* @return bool Fitness of expression.
*/
protected static function _matches(array $data, $selector) {
preg_match_all(
@ -282,7 +282,7 @@ class Hash {
* @param array $data The data to operate on.
* @param array $path The path to work on.
* @param mixed $values The values to insert when doing inserts.
* @return array $data.
* @return array data.
*/
protected static function _simpleOp($op, $data, $path, $values = null) {
$_list =& $data;
@ -484,7 +484,7 @@ class Hash {
*
* @param array $data The data to search through.
* @param array $needle The values to file in $data
* @return boolean true if $data contains $needle, false otherwise
* @return bool true if $data contains $needle, false otherwise
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::contains
*/
public static function contains(array $data, array $needle) {
@ -525,7 +525,7 @@ class Hash {
*
* @param array $data The data to check.
* @param string $path The path to check for.
* @return boolean Existence of path.
* @return bool Existence of path.
* @see Hash::extract()
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::check
*/
@ -559,7 +559,7 @@ class Hash {
* Callback function for filtering.
*
* @param array $var Array to filter.
* @return boolean
* @return bool
*/
protected static function _filter($var) {
if ($var === 0 || $var === '0' || !empty($var)) {
@ -675,7 +675,7 @@ class Hash {
* Checks to see if all the values in the array are numeric
*
* @param array $data The array to check.
* @return boolean true if values are numeric, false otherwise
* @return bool true if values are numeric, false otherwise
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::numeric
*/
public static function numeric(array $data) {
@ -693,7 +693,7 @@ class Hash {
* to get the dimensions of the array.
*
* @param array $data Array to count dimensions on
* @return integer The number of dimensions in $data
* @return int The number of dimensions in $data
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::dimensions
*/
public static function dimensions(array $data) {
@ -718,7 +718,7 @@ class Hash {
* number of dimensions in a mixed array.
*
* @param array $data Array to count dimensions on
* @return integer The maximum number of dimensions in $data
* @return int The maximum number of dimensions in $data
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::maxDimensions
*/
public static function maxDimensions(array $data) {
@ -949,7 +949,7 @@ class Hash {
* Normalizes an array, and converts it to a standard format.
*
* @param array $data List to normalize
* @param boolean $assoc If true, $data will be converted to an associative array.
* @param bool $assoc If true, $data will be converted to an associative array.
* @return array
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::normalize
*/