mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Augment docblock for Hash::combine()
Adds array as possible types for `Hash::combine()` for `$keyPath` and `$valuePath` params.
This commit is contained in:
parent
2273428dca
commit
59fe9f55c2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue