Skip to content

Commit d717a90

Browse files
committed
fix phpstan errors
1 parent f7f8e8c commit d717a90

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

src/AbstractMigration.php

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -90,38 +90,22 @@ public function skipIf(bool $condition, string $message = 'Unknown Reason'): voi
9090
}
9191
}
9292

93-
/**
94-
* @throws MigrationException|DBALException
95-
*
96-
* @phpstan-ignore throws.unusedType,throws.unusedType
97-
*/
93+
/** @throws MigrationException|DBALException */
9894
public function preUp(Schema $schema): void
9995
{
10096
}
10197

102-
/**
103-
* @throws MigrationException|DBALException
104-
*
105-
* @phpstan-ignore throws.unusedType,throws.unusedType
106-
*/
98+
/** @throws MigrationException|DBALException */
10799
public function postUp(Schema $schema): void
108100
{
109101
}
110102

111-
/**
112-
* @throws MigrationException|DBALException
113-
*
114-
* @phpstan-ignore throws.unusedType,throws.unusedType
115-
*/
103+
/** @throws MigrationException|DBALException */
116104
public function preDown(Schema $schema): void
117105
{
118106
}
119107

120-
/**
121-
* @throws MigrationException|DBALException
122-
*
123-
* @phpstan-ignore throws.unusedType,throws.unusedType
124-
*/
108+
/** @throws MigrationException|DBALException */
125109
public function postDown(Schema $schema): void
126110
{
127111
}

0 commit comments

Comments
 (0)