Browse Source

Fix up docblocks.

mscherer 3 years ago
parent
commit
a941325c0e
2 changed files with 2 additions and 2 deletions
  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 = []) {