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 44
55use TypesNamespaceFunctions ;
66
7- class Foo
7+ final class Foo
88{
99
1010 const INTEGER_CONSTANT = 1 ;
Original file line number Diff line number Diff line change 55class WithFoo
66{
77
8+ /** @var 1 */
89 const FOO_CONSTANT = 1 ;
910
1011 /** @var Foo */
@@ -25,7 +26,10 @@ public static function doStaticFoo(): Foo
2526class WithFooAndBar
2627{
2728
29+ /** @var 1 */
2830 const FOO_CONSTANT = 1 ;
31+
32+ /** @var 1 */
2933 const BAR_CONSTANT = 1 ;
3034
3135 /** @var AnotherFoo */
@@ -59,7 +63,10 @@ public static function doStaticBar(): Bar
5963interface WithFooAndBarInterface
6064{
6165
66+ /** @var 1 */
6267 const FOO_CONSTANT = 1 ;
68+
69+ /** @var 1 */
6370 const BAR_CONSTANT = 1 ;
6471
6572 public function doFoo (): AnotherFoo ;
@@ -80,6 +87,7 @@ interface SomeInterface
8087class Dolor
8188{
8289
90+ /** @var array{1, 2, 3} */
8391 const PARENT_CONSTANT = [1 , 2 , 3 ];
8492
8593}
You can’t perform that action at this time.
0 commit comments