Skip to content

Commit a58025a

Browse files
committed
lint: phpstan fix
1 parent dba5b7c commit a58025a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ parameters:
22
paths:
33
- src
44

5-
level: 8
5+
level: 10

src/ReturnError.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@ public function toString(mixed $additionalLogData = null): string
4343

4444
public function report(mixed $additional = null): void
4545
{
46+
/** @phpstan-ignore-next-line */
4647
report($this->toString($additional));
4748
}
4849

4950
/**
5051
* @template T
5152
* @param callable(): T $callable
52-
* @return T|\App\Classes\ReturnError
53+
* @return T|\Amirhossein5\ReturnError\ReturnError
5354
*/
5455
public static function wrap(callable $callable): mixed
5556
{

0 commit comments

Comments
 (0)