浏览代码

Fix up docblocks.

mscherer 3 年之前
父节点
当前提交
a941325c0e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      config/bootstrap.php
  2. 1 1
      tests/TestCase/Model/Behavior/SluggedBehaviorTest.php

+ 1 - 1
config/bootstrap.php

@@ -268,7 +268,7 @@ if (!function_exists('pre')) {
 	 *
 	 * @param mixed $var
 	 * @param bool $collapsedAndExpandable
-	 * @param array $options
+	 * @param array<string, mixed> $options
 	 * - class, showHtml, showFrom, jquery, returns, debug
 	 * @return string HTML
 	 */

+ 1 - 1
tests/TestCase/Model/Behavior/SluggedBehaviorTest.php

@@ -706,7 +706,7 @@ class SluggedBehaviorTest extends TestCase {
 	 * @param string|null $title
 	 * @param string|null $field
 	 * @param array $data
-	 * @param array $options
+	 * @param array<string, mixed> $options
 	 * @return \Cake\ORM\Entity
 	 */
 	protected function _getEntity($title = null, $field = null, array $data = [], array $options = []) {