Skip to content

Commit

Permalink
Support for Nette Object method getter syntax - CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMystikJonas committed Dec 14, 2017
1 parent 2b1a8ee commit 6ffae8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/data/NetteObjectChild.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ protected function getProtectedProperty(): string
return 'protected';
}

public function methodAsClosureGetter() {
public function methodAsClosureGetter(): string
{
return 'methodAsClosureGetter';
}

Expand Down

0 comments on commit 6ffae8a

Please sign in to comment.