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 af6d594 commit 34e979bCopy full SHA for 34e979b
tests/PHPStan/Rules/Exceptions/data/bug-11900.php
@@ -7,27 +7,6 @@
7
8
abstract class ADataException extends Exception
9
{
10
- public int $i {
11
- /** @throws static */
12
- get {
13
- if (rand(0, 1)) {
14
- throw new static();
15
- }
16
-
17
- return 42;
18
19
20
21
22
- public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
23
- {
24
25
26
27
28
- parent::__construct($message, $code, $previous);
29
30
31
/**
32
* @return void
33
* @throws static
0 commit comments