@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | public function configure(string $sName, string $sValue) |
125 | 125 | { |
126 | - switch($sName) |
|
126 | + switch ($sName) |
|
127 | 127 | { |
128 | 128 | case 'class': // The user function is a method in the given class |
129 | 129 | $this->xPhpFunction = [$sValue, $this->xPhpFunction]; |
@@ -147,12 +147,12 @@ discard block |
||
147 | 147 | */ |
148 | 148 | public function call(array $aArgs = []) |
149 | 149 | { |
150 | - if(($this->sInclude)) |
|
150 | + if (($this->sInclude)) |
|
151 | 151 | { |
152 | 152 | require_once $this->sInclude; |
153 | 153 | } |
154 | 154 | // If the function is an alias for a class method, then instantiate the class |
155 | - if(is_array($this->xPhpFunction) && is_string($this->xPhpFunction[0])) |
|
155 | + if (is_array($this->xPhpFunction) && is_string($this->xPhpFunction[0])) |
|
156 | 156 | { |
157 | 157 | $sClassName = $this->xPhpFunction[0]; |
158 | 158 | $this->xPhpFunction[0] = $this->di->h($sClassName) ? |