Skip to content

Commit

Permalink
fixing Set docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
steinkel committed Mar 8, 2014
1 parent 6049009 commit 4d51092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Utility/Set.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public static function format($data, $format, $keys) {
* @param string $path An absolute XPath 2.0 path * @param string $path An absolute XPath 2.0 path
* @param array $data An array of data to extract from * @param array $data An array of data to extract from
* @param array $options Currently only supports 'flatten' which can be disabled for higher XPath-ness * @param array $options Currently only supports 'flatten' which can be disabled for higher XPath-ness
* @return array|mixed|null An array of matched items or the content of a single selected item or null in any of these cases: $path or $data are null, no items found. * @return mixed An array of matched items or the content of a single selected item or null in any of these cases: $path or $data are null, no items found.
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/set.html#Set::extract * @link http://book.cakephp.org/2.0/en/core-utility-libraries/set.html#Set::extract
*/ */
public static function extract($path, $data = null, $options = array()) { public static function extract($path, $data = null, $options = array()) {
Expand Down Expand Up @@ -532,7 +532,7 @@ public static function matches($conditions, $data = array(), $i = null, $length
* *
* @param array $data Array from where to extract * @param array $data Array from where to extract
* @param string|array $path As an array, or as a dot-separated string. * @param string|array $path As an array, or as a dot-separated string.
* @return array|mixed|null An array of matched items or the content of a single selected item or null in any of these cases: $path or $data are null, no items found. * @return mixed An array of matched items or the content of a single selected item or null in any of these cases: $path or $data are null, no items found.
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/set.html#Set::classicExtract * @link http://book.cakephp.org/2.0/en/core-utility-libraries/set.html#Set::classicExtract
*/ */
public static function classicExtract($data, $path = null) { public static function classicExtract($data, $path = null) {
Expand Down

0 comments on commit 4d51092

Please sign in to comment.