Commit 310099f 1 parent 7ba6577 commit 310099f Copy full SHA for 310099f
File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 10
10
namespace PHPCompiler ;
11
11
12
12
// This is used as a property type, phan is confused.
13
- // @phan-suppress-next-line PhanUnreferencedUseNormal
14
13
use SplObjectStorage ;
15
14
use PHPCfg \Func as CfgFunc ;
16
15
use PHPCfg \Op ;
@@ -26,7 +25,7 @@ class Compiler {
26
25
protected ?SplObjectStorage $ funcs ;
27
26
28
27
public function compile (Script $ script ): ?Block {
29
- $ this ->seen = new \ SplObjectStorage ;
28
+ $ this ->seen = new SplObjectStorage ;
30
29
31
30
$ main = $ this ->compileCfgBlock ($ script ->main ->cfg );
32
31
@@ -35,7 +34,7 @@ public function compile(Script $script): ?Block {
35
34
}
36
35
37
36
public function compileFunc (string $ name , CfgFunc $ func ): Func {
38
- $ this ->seen = new \ SplObjectStorage ;
37
+ $ this ->seen = new SplObjectStorage ;
39
38
40
39
$ funcBlock = $ this ->compileCfgBlock ($ func ->cfg , $ func ->params );
41
40
$ funcBlock ->func = $ func ;
You can’t perform that action at this time.
0 commit comments