Skip to content

Commit 96b3565

Browse files
committed
cs
1 parent ec777ee commit 96b3565

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rules/CodeQuality/Rector/Class_/TypeWillReturnCallableArrowFunctionRector.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ function (string $arg): string {
9494
);
9595
}
9696
}
97+
98+
final class SomeClass
99+
{
100+
public function someMethod(string $arg): string
101+
{
102+
return $arg . ' !';
103+
}
104+
}
97105
CODE_SAMPLE
98106
),
99107
]

0 commit comments

Comments
 (0)