Skip to content

Commit 590cfec

Browse files
authored
use @phpstan- prefix instead of @psalm- (#74)
1 parent 1615507 commit 590cfec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Seld/JsonLint/DuplicateKeyException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DuplicateKeyException extends ParsingException
1616
/**
1717
* @param string $message
1818
* @param string $key
19-
* @psalm-param array{text?: string, token?: string, line?: int, loc?: array{first_line: int, first_column: int, last_line: int, last_column: int}, expected?: string[]} $details
19+
* @phpstan-param array{text?: string, token?: string, line?: int, loc?: array{first_line: int, first_column: int, last_line: int, last_column: int}, expected?: string[]} $details
2020
*/
2121
public function __construct($message, $key, array $details = array())
2222
{
@@ -30,7 +30,7 @@ public function getKey()
3030
}
3131

3232
/**
33-
* @psalm-return array{text?: string, token?: string, line?: int, loc?: array{first_line: int, first_column: int, last_line: int, last_column: int}, expected?: string[], key: string}
33+
* @phpstan-return array{text?: string, token?: string, line?: int, loc?: array{first_line: int, first_column: int, last_line: int, last_column: int}, expected?: string[], key: string}
3434
*/
3535
public function getDetails()
3636
{

src/Seld/JsonLint/ParsingException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ParsingException extends \Exception
1717

1818
/**
1919
* @param string $message
20-
* @psalm-param array{text?: string, token?: string, line?: int, loc?: array{first_line: int, first_column: int, last_line: int, last_column: int}, expected?: string[]} $details
20+
* @phpstan-param array{text?: string, token?: string, line?: int, loc?: array{first_line: int, first_column: int, last_line: int, last_column: int}, expected?: string[]} $details
2121
*/
2222
public function __construct($message, $details = array())
2323
{
@@ -26,7 +26,7 @@ public function __construct($message, $details = array())
2626
}
2727

2828
/**
29-
* @psalm-return array{text?: string, token?: string, line?: int, loc?: array{first_line: int, first_column: int, last_line: int, last_column: int}, expected?: string[]}
29+
* @phpstan-return array{text?: string, token?: string, line?: int, loc?: array{first_line: int, first_column: int, last_line: int, last_column: int}, expected?: string[]}
3030
*/
3131
public function getDetails()
3232
{

0 commit comments

Comments
 (0)