Skip to content

Commit 9b517b3

Browse files
authored
Get rid of unecessary phpstan prefix in some annotations (#135)
1 parent 8f72c35 commit 9b517b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SkipInvalidItemProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function process(mixed $item): mixed
4545
/**
4646
* @param Constraint[]|null $constraints
4747
*
48-
* @phpstan-return Iterator<string>
48+
* @return Iterator<string>
4949
*/
5050
private function normalizeConstraints(?array $constraints): Iterator
5151
{

src/SkipItemOnViolations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class SkipItemOnViolations implements SkipItemCauseInterface
1818
{
1919
public function __construct(
2020
/**
21-
* @phpstan-var ConstraintViolationListInterface<ConstraintViolationInterface>
21+
* @var ConstraintViolationListInterface<ConstraintViolationInterface>
2222
*/
2323
private ConstraintViolationListInterface $violations
2424
) {
@@ -48,7 +48,7 @@ public function report(JobExecution $execution, int|string $index, mixed $item):
4848
}
4949

5050
/**
51-
* @phpstan-return ConstraintViolationListInterface<ConstraintViolationInterface>
51+
* @return ConstraintViolationListInterface<ConstraintViolationInterface>
5252
*/
5353
public function getViolations(): ConstraintViolationListInterface
5454
{

0 commit comments

Comments
 (0)