Skip to content

Commit 54598cd

Browse files
committed
add typehint and parameter on extension load method
using both phpstyle and phpstan style typehints to make both phpstan and phpcs happy
1 parent c9388fc commit 54598cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DependencyInjection/DoctrineMigrationsExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class DoctrineMigrationsExtension extends Extension
2020
/**
2121
* Responds to the migrations configuration parameter.
2222
*
23-
* @param string[][] $configs
23+
* @param string[][]|array<string, array<string, array<string, string>|string>>> $configs
2424
*/
2525
public function load(array $configs, ContainerBuilder $container) : void
2626
{

Tests/DependencyInjection/DoctrineMigrationsExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testForwardCompatibilityLayer() : void
3838
'table_storage' => [
3939
'table_name' => 'doctrine_migration_versions_test',
4040
'version_column_name' => 'doctrine_migration_column_test',
41-
'version_column_length' => 2000,
41+
'version_column_length' => '2000',
4242
'executed_at_column_name' => 'doctrine_migration_executed_at_column_test',
4343
],
4444
],

0 commit comments

Comments
 (0)