Skip to content

Commit

Permalink
Update signature
Browse files Browse the repository at this point in the history
  • Loading branch information
paranoiq committed Aug 19, 2024
1 parent 32e4d59 commit 8e5c549
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/MigrationDefaultExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace ShipMonk\Doctrine\Migration;

use Doctrine\DBAL\ArrayParameterType;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\ParameterType;
use Doctrine\DBAL\Result;
use Doctrine\DBAL\Types\Type;

Expand All @@ -20,7 +22,7 @@ public function __construct(

/**
* @param list<mixed>|array<string, mixed> $params
* @param array<int|string, int|string|Type|null> $types
* @param array<non-negative-int|string, string|Type|ParameterType|ArrayParameterType> $types
*/
public function executeQuery(string $statement, array $params = [], array $types = []): Result
{
Expand Down
4 changes: 3 additions & 1 deletion src/MigrationExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace ShipMonk\Doctrine\Migration;

use Doctrine\DBAL\ArrayParameterType;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\ParameterType;
use Doctrine\DBAL\Result;
use Doctrine\DBAL\Types\Type;

Expand All @@ -11,7 +13,7 @@ interface MigrationExecutor

/**
* @param list<mixed>|array<string, mixed> $params
* @param array<int|string, int|string|Type|null> $types
* @param array<non-negative-int|string, string|Type|ParameterType|ArrayParameterType> $types
*/
public function executeQuery(string $statement, array $params = [], array $types = []): Result;

Expand Down

0 comments on commit 8e5c549

Please sign in to comment.