File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function remove(Reference|string $reference): void
67
67
68
68
unset($ this ->items [$ transformed ->reference ->getKey ()]);
69
69
70
- if ($ transformed ->reference instanceof FilesystemReference) {
70
+ if ($ transformed ->reference instanceof FilesystemReference) {
71
71
$ path = $ this ->cleanupFilePath ($ transformed ->reference ->getFilesystemOriginPath ());
72
72
73
73
unset($ this ->fileMapping [$ path ]);
Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ protected function initializeArguments(): array
81
81
$ constructor = new ReflectionMethod ($ this ->reflection ->getName (), '__construct ' );
82
82
83
83
foreach ($ constructor ->getParameters () as $ index => $ param ) {
84
- if (array_key_exists ($ param ->getName (), $ this ->arguments )) {
84
+ if (array_key_exists ($ param ->getName (), $ this ->arguments )) {
85
85
continue ;
86
86
}
87
87
88
- if (! array_key_exists ($ index , $ values )) {
88
+ if (! array_key_exists ($ index , $ values )) {
89
89
continue ;
90
90
}
91
91
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ public function getName(): string
20
20
21
21
public function getValue (): string |int |null
22
22
{
23
- if ($ this ->reflection instanceof ReflectionEnumCase) {
23
+ if ($ this ->reflection instanceof ReflectionEnumCase) {
24
24
return $ this ->reflection ->getValue ();
25
25
}
26
26
27
- if (! method_exists ($ this ->reflection , 'getBackingValue ' )) {
27
+ if (! method_exists ($ this ->reflection , 'getBackingValue ' )) {
28
28
return null ;
29
29
}
30
30
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public function addMissingReference(
88
88
$ key = $ key ->getKey ();
89
89
}
90
90
91
- if (! array_key_exists ($ key , $ this ->missingReferences )) {
91
+ if (! array_key_exists ($ key , $ this ->missingReferences )) {
92
92
$ this ->missingReferences [$ key ] = [];
93
93
}
94
94
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function transform(
38
38
39
39
$ cases = $ this ->enumProvider ->resolveCases ($ phpClassNode );
40
40
41
- if (count ($ cases ) === 0 ) {
41
+ if (count ($ cases ) === 0 ) {
42
42
return Untransformable::create ();
43
43
}
44
44
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function unconnect(): void
32
32
33
33
public function write (WritingContext $ context ): string
34
34
{
35
- if ($ this ->referenced === null ) {
35
+ if ($ this ->referenced === null ) {
36
36
return 'undefined ' ;
37
37
}
38
38
You can’t perform that action at this time.
0 commit comments