Augment docblock for Hash::combine()

Adds array as possible types for `Hash::combine()` for `$keyPath` and `$valuePath` params.
This commit is contained in:
Joseph Zidell 2018-09-20 22:00:03 -04:00 committed by GitHub
parent 2273428dca
commit 59fe9f55c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -384,8 +384,8 @@ class Hash {
* following the path specified in `$groupPath`. * following the path specified in `$groupPath`.
* *
* @param array $data Array from where to extract keys and values * @param array $data Array from where to extract keys and values
* @param string $keyPath A dot-separated string. * @param array|string $keyPath A dot-separated string or array for formatting rules.
* @param string $valuePath A dot-separated string. * @param array|string $valuePath A dot-separated string or array for formatting rules.
* @param string $groupPath A dot-separated string. * @param string $groupPath A dot-separated string.
* @return array Combined array * @return array Combined array
* @link https://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::combine * @link https://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::combine