Skip to content

Commit 6ffae8a

Browse files
Support for Nette Object method getter syntax - CS fix
1 parent 2b1a8ee commit 6ffae8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/data/NetteObjectChild.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ protected function getProtectedProperty(): string
2525
return 'protected';
2626
}
2727

28-
public function methodAsClosureGetter() {
28+
public function methodAsClosureGetter(): string
29+
{
2930
return 'methodAsClosureGetter';
3031
}
3132

0 commit comments

Comments
 (0)