From 5efa5280a83e194766aafa1803dc530e80a2e34b Mon Sep 17 00:00:00 2001 From: Maarten Nusteling Date: Sat, 16 Oct 2021 15:08:16 +0200 Subject: [PATCH] Fixed else statement code style (#297) --- generator/src/WritePhpFunction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/src/WritePhpFunction.php b/generator/src/WritePhpFunction.php index bc703425..564b7187 100644 --- a/generator/src/WritePhpFunction.php +++ b/generator/src/WritePhpFunction.php @@ -84,7 +84,7 @@ private function writePhpFunction(): string break; } } while (true); - $phpFunction .= 'else {'."\n"; + $phpFunction .= ' else {'."\n"; $phpFunction .= ' $result = '.$this->printFunctionCall($method)."\n"; $phpFunction .= ' }'; }