aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Utility/ControllerMethodReflector.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/AppFramework/Utility/ControllerMethodReflector.php')
-rw-r--r--lib/private/AppFramework/Utility/ControllerMethodReflector.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/AppFramework/Utility/ControllerMethodReflector.php b/lib/private/AppFramework/Utility/ControllerMethodReflector.php
index 31f1892772f..2b7420cd41b 100644
--- a/lib/private/AppFramework/Utility/ControllerMethodReflector.php
+++ b/lib/private/AppFramework/Utility/ControllerMethodReflector.php
@@ -82,7 +82,7 @@ class ControllerMethodReflector implements IControllerMethodReflector {
}
$default = null;
- if($param->isOptional()) {
+ if ($param->isOptional()) {
$default = $param->getDefaultValue();
}
$this->parameters[$param->name] = $default;
@@ -97,7 +97,7 @@ class ControllerMethodReflector implements IControllerMethodReflector {
* would return int or null if not existing
*/
public function getType(string $parameter) {
- if(array_key_exists($parameter, $this->types)) {
+ if (array_key_exists($parameter, $this->types)) {
return $this->types[$parameter];
}
@@ -128,7 +128,7 @@ class ControllerMethodReflector implements IControllerMethodReflector {
* @return string
*/
public function getAnnotationParameter(string $name, string $key): string {
- if(isset($this->annotations[$name][$key])) {
+ if (isset($this->annotations[$name][$key])) {
return $this->annotations[$name][$key];
}