From 6ffae8a5e35847efad03f73952863dc0eaa67bdf Mon Sep 17 00:00:00 2001 From: martinjonas Date: Thu, 14 Dec 2017 16:25:39 +0100 Subject: [PATCH] Support for Nette Object method getter syntax - CS fix --- tests/data/NetteObjectChild.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/data/NetteObjectChild.php b/tests/data/NetteObjectChild.php index 7a03c3c..6a7d622 100644 --- a/tests/data/NetteObjectChild.php +++ b/tests/data/NetteObjectChild.php @@ -25,7 +25,8 @@ protected function getProtectedProperty(): string return 'protected'; } - public function methodAsClosureGetter() { + public function methodAsClosureGetter(): string + { return 'methodAsClosureGetter'; }