Browse Source

Merge pull request #2534 from zoghal/master-phpcs-error-fix

fix phpcs error "Missing @throws tag in function comment"
José Lorenzo Rodríguez 12 years ago
parent
commit
1aaa56575b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/Utility/Hash.php

+ 1 - 0
lib/Cake/Utility/Hash.php

@@ -324,6 +324,7 @@ class Hash {
  * @param string $groupPath A dot-separated string.
  * @return array Combined array
  * @link http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::combine
+ * @throws CakeException CakeException When keys and values count is unequal.
  */
 	public static function combine(array $data, $keyPath, $valuePath = null, $groupPath = null) {
 		if (empty($data)) {