Skip to content

Commit

Permalink
Merge pull request #947 from cakephp/3.x-fix-config-type
Browse files Browse the repository at this point in the history
Fix config array type.
  • Loading branch information
othercorey committed Sep 27, 2023
2 parents 1069077 + 7ff2563 commit f2a9267
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion templates/bake/Model/table.twig
Expand Up @@ -36,7 +36,7 @@ class {{ name }}Table extends Table{{ fileBuilder.classBuilder.implements ? ' im
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/CodeGen/CodeParserTest.php
Expand Up @@ -92,7 +92,7 @@ public function testParseFile(): void
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -33,7 +33,7 @@ class CategoriesProductsTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -34,7 +34,7 @@ class CategoriesTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -34,7 +34,7 @@ class CategoriesTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -32,7 +32,7 @@ class OldProductsTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -32,7 +32,7 @@ class OldProductsTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -32,7 +32,7 @@ class ProductVersionsTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -32,7 +32,7 @@ class ProductVersionsTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Model/testBakeTableConfig.php
Expand Up @@ -37,7 +37,7 @@ class ItemsTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -32,7 +32,7 @@ class TestBakeArticlesTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Model/testBakeTableRules.php
Expand Up @@ -30,7 +30,7 @@ class UniqueFieldsTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Model/testBakeTableValidation.php
Expand Up @@ -32,7 +32,7 @@ class TestBakeArticlesTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Model/testBakeTableWithCounterCache.php
Expand Up @@ -35,7 +35,7 @@ class TodoTasksTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Model/testBakeTableWithPlugin.php
Expand Up @@ -35,7 +35,7 @@ class UsersTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Model/testBakeUpdateTable.php
Expand Up @@ -49,7 +49,7 @@ class TodoItemsTable extends Table implements SomeInterface
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Model/testBakeUpdateTableNoFile.php
Expand Up @@ -37,7 +37,7 @@ class TodoItemsTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Model/testBakeWithRulesUnique.php
Expand Up @@ -35,7 +35,7 @@ class UsersTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/test_app/App/Model/Table/AuthorsTable.php
Expand Up @@ -23,7 +23,7 @@
class AuthorsTable extends Table
{
/**
* @param array $config
* @param array<string, mixed> $config
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion tests/test_app/App/Model/Table/ParseTestTable.php
Expand Up @@ -46,7 +46,7 @@ class ParseTestTable extends Table
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @param array<string, mixed> $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
Expand Down
Expand Up @@ -24,7 +24,7 @@
class BakeArticlesTable extends Table
{
/**
* @param array $config
* @param array<string, mixed> $config
* @return void
*/
public function initialize(array $config): void
Expand Down

0 comments on commit f2a9267

Please sign in to comment.