File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
tests/PHPStan/Analyser/data Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use TypesNamespaceFunctions ;
6
6
7
- class Foo
7
+ final class Foo
8
8
{
9
9
10
10
const INTEGER_CONSTANT = 1 ;
Original file line number Diff line number Diff line change 5
5
class WithFoo
6
6
{
7
7
8
+ /** @var 1 */
8
9
const FOO_CONSTANT = 1 ;
9
10
10
11
/** @var Foo */
@@ -25,7 +26,10 @@ public static function doStaticFoo(): Foo
25
26
class WithFooAndBar
26
27
{
27
28
29
+ /** @var 1 */
28
30
const FOO_CONSTANT = 1 ;
31
+
32
+ /** @var 1 */
29
33
const BAR_CONSTANT = 1 ;
30
34
31
35
/** @var AnotherFoo */
@@ -59,7 +63,10 @@ public static function doStaticBar(): Bar
59
63
interface WithFooAndBarInterface
60
64
{
61
65
66
+ /** @var 1 */
62
67
const FOO_CONSTANT = 1 ;
68
+
69
+ /** @var 1 */
63
70
const BAR_CONSTANT = 1 ;
64
71
65
72
public function doFoo (): AnotherFoo ;
@@ -80,6 +87,7 @@ interface SomeInterface
80
87
class Dolor
81
88
{
82
89
90
+ /** @var array{1, 2, 3} */
83
91
const PARENT_CONSTANT = [1 , 2 , 3 ];
84
92
85
93
}
You can’t perform that action at this time.
0 commit comments