File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
tests/Issues/NamespacedUseAutoImport/Fixture Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace Rector \Tests \Issues \NamespacedUseAutoImport \Fixture ;
6+
7+ use Carbon \Carbon ;
8+ use Carbon \CarbonInterface ;
9+
10+ /**
11+ * @property \Carbon\CarbonInterface|null $deleted_at
12+ */
13+ class NotInUseFqcnDocblock2
14+ {
15+ public function demoFunction (): array
16+ {
17+ return [Carbon::parse ('2026-01-01 11:16:01 ' )];
18+ }
19+ }
20+
21+ ?>
22+ -----
23+ <?php
24+
25+ declare (strict_types=1 );
26+
27+ namespace Rector \Tests \Issues \NamespacedUseAutoImport \Fixture ;
28+
29+ use Carbon \Carbon ;
30+ use Carbon \CarbonInterface ;
31+
32+ /**
33+ * @property CarbonInterface|null $deleted_at
34+ */
35+ class NotInUseFqcnDocblock2
36+ {
37+ public function demoFunction (): array
38+ {
39+ return [Carbon::parse ('2026-01-01 11:16:01 ' )];
40+ }
41+ }
42+
43+ ?>
You can’t perform that action at this time.
0 commit comments