fixing Set docblocks

This commit is contained in:
Jorge González 2014-03-08 10:26:03 +00:00
parent 6049009cac
commit 4d51092259

View file

@ -307,7 +307,7 @@ class Set {
* @param string $path An absolute XPath 2.0 path
* @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
* @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
*/
public static function extract($path, $data = null, $options = array()) {
@ -532,7 +532,7 @@ class Set {
*
* @param array $data Array from where to extract
* @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
*/
public static function classicExtract($data, $path = null) {