Skip to content

Commit

Permalink
Fix up docblocks for assoc options and list arrays. (#17526)
Browse files Browse the repository at this point in the history
* Fix up docblocks for assoc options arrays.

* Fix up docblocks for assoc options arrays.

* Fix up list<type> docblocks.

* Fix up list<type> docblocks.
  • Loading branch information
dereuromark committed Jan 5, 2024
1 parent bed36e1 commit b1de83c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Connection.php
Expand Up @@ -129,7 +129,7 @@ public function __construct(array $config)
/**
* Creates read and write drivers.
*
* @param array $config Connection config
* @param array<string, mixed> $config Connection config
* @return array<string, \Cake\Database\Driver>
* @psalm-return array{read: \Cake\Database\Driver, write: \Cake\Database\Driver}
*/
Expand Down
2 changes: 1 addition & 1 deletion Driver.php
Expand Up @@ -851,7 +851,7 @@ public function newCompiler(): QueryCompiler
* Constructs new TableSchema.
*
* @param string $table The table name.
* @param array $columns The list of columns for the schema.
* @param array<string, mixed> $columns The list of columns for the schema.
* @return \Cake\Database\Schema\TableSchemaInterface
*/
public function newTableSchema(string $table, array $columns = []): TableSchemaInterface
Expand Down
2 changes: 1 addition & 1 deletion Type/BatchCastingInterface.php
Expand Up @@ -29,7 +29,7 @@ interface BatchCastingInterface
* this type.
*
* @param array $values The original array of values containing the fields to be casted
* @param array<string> $fields The field keys to cast
* @param list<string> $fields The field keys to cast
* @param \Cake\Database\Driver $driver Object from which database preferences and configuration will be extracted.
* @return array<string, mixed>
*/
Expand Down

0 comments on commit b1de83c

Please sign in to comment.