Skip to content
Permalink
Browse files

Augment docblock for `Hash::combine()`

Adds array as possible types for `Hash::combine()` for `$keyPath` and `$valuePath` params.
  • Loading branch information...
josephzidell committed Sep 21, 2018
1 parent 2273428 commit 59fe9f55c2f88dde5ade9a0c6e72202f2323c9f4
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Utility/Hash.php
@@ -384,8 +384,8 @@ public static function remove(array $data, $path) {
* following the path specified in `$groupPath`.
*
* @param array $data Array from where to extract keys and values
* @param string $keyPath A dot-separated string.
* @param string $valuePath A dot-separated string.
* @param array|string $keyPath A dot-separated string or array for formatting rules.
* @param array|string $valuePath A dot-separated string or array for formatting rules.
* @param string $groupPath A dot-separated string.
* @return array Combined array
* @link https://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::combine

0 comments on commit 59fe9f5

Please sign in to comment.
You can’t perform that action at this time.