We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 413545d commit acd2f56Copy full SHA for acd2f56
src/DocBlock/Tag/GenericTag.php
@@ -10,11 +10,11 @@
10
*/
11
final class GenericTag extends Tag implements InvalidTagInterface
12
{
13
- private static ?\Throwable $reason = null;
+ private ?\Throwable $reason = null;
14
15
public function getReason(): \Throwable
16
17
- return self::$reason ??= new \OutOfRangeException(
+ return $this->reason ??= new \OutOfRangeException(
18
message: \sprintf('Tag "@%s" is not supported', $this->getName()),
19
);
20
}
0 commit comments