Skip to content

Commit 6cea6d4

Browse files
committedJan 15, 2025··
Remove phpstan- prefix
In the cases at hand, having an unprefixed phpdoc annotation should not confused any up-to-date IDE.
1 parent 6ebb10d commit 6cea6d4

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed
 

‎src/Driver/IBMDB2/Exception/CannotCopyStreamToStream.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/** @internal */
1010
final class CannotCopyStreamToStream extends AbstractException
1111
{
12-
/** @phpstan-param array{message: string}|null $error */
12+
/** @param array{message: string}|null $error */
1313
public static function new(?array $error): self
1414
{
1515
$message = 'Could not copy source stream to temporary file';

‎src/Driver/IBMDB2/Exception/CannotCreateTemporaryFile.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/** @internal */
1010
final class CannotCreateTemporaryFile extends AbstractException
1111
{
12-
/** @phpstan-param array{message: string}|null $error */
12+
/** @param array{message: string}|null $error */
1313
public static function new(?array $error): self
1414
{
1515
$message = 'Could not create temporary file';

‎src/Driver/IBMDB2/Exception/PrepareFailed.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/** @internal */
1010
final class PrepareFailed extends AbstractException
1111
{
12-
/** @phpstan-param array{message: string}|null $error */
12+
/** @param array{message: string}|null $error */
1313
public static function new(?array $error): self
1414
{
1515
if ($error === null) {

‎src/Driver/PgSQL/Statement.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class Statement implements StatementInterface
4040
/** @var array<int, mixed> */
4141
private array $parameters = [];
4242

43-
/** @phpstan-var array<int, int> */
43+
/** @var array<int, int> */
4444
private array $parameterTypes = [];
4545

4646
/**

‎tests/DriverManagerTest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ public function testDatabaseUrl($url, $expected): void
228228
}
229229
}
230230

231-
/** @phpstan-return array<string, array{
232-
* string|array<string, mixed>,
233-
* array<string, mixed>|false,
234-
* }>
231+
/** @return array<string, array{
232+
* string|array<string, mixed>,
233+
* array<string, mixed>|false,
234+
* }>
235235
*/
236236
public static function databaseUrlProvider(): iterable
237237
{

0 commit comments

Comments
 (0)
Please sign in to comment.