@@ -117,7 +117,7 @@ |
||
| 117 | 117 | ->decode() |
| 118 | 118 | ; |
| 119 | 119 | } |
| 120 | - }else{ |
|
| 120 | + } else{ |
|
| 121 | 121 | |
| 122 | 122 | $this->header->unauthorised(); |
| 123 | 123 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | $directory = $customService['directory']; |
| 89 | 89 | $middleware = $customService['namespace']; |
| 90 | 90 | |
| 91 | - }else { |
|
| 91 | + } else { |
|
| 92 | 92 | $middleware = 'responsible'; |
| 93 | 93 | |
| 94 | 94 | $endpoint = str_replace( |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | if (class_exists($child)) { |
| 136 | 136 | self::$middleWareClass = new $child; |
| 137 | 137 | $this->registry[$point] = self::$middleWareClass->register(); |
| 138 | - }else{ |
|
| 138 | + } else{ |
|
| 139 | 139 | (new exception\errorException) |
| 140 | 140 | ->message("Class Error:: class {$child} needs to exist. See documentation on setting up a service.") |
| 141 | 141 | ->error('NOT_EXTENDED'); |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | if( is_array($classScope) && isset($classScope[$position]) ) { |
| 216 | 216 | $endpointSettings['model']['scope'] = $classScope[$position]; |
| 217 | 217 | |
| 218 | - }else{ |
|
| 218 | + } else{ |
|
| 219 | 219 | |
| 220 | 220 | if( !is_array($classScope) ) { |
| 221 | 221 | $endpointSettings['model']['scope'] = $classScope; |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | if( is_array($classScope) && isset($classScope[$position]) ) { |
| 275 | 275 | $scope = $classScope[$position]; |
| 276 | 276 | |
| 277 | - }else{ |
|
| 277 | + } else{ |
|
| 278 | 278 | |
| 279 | 279 | if( !is_array($classScope) ) { |
| 280 | 280 | $scope = $classScope; |
@@ -163,7 +163,7 @@ |
||
| 163 | 163 | foreach ($properties->update as $u => $update) { |
| 164 | 164 | if( !in_array($u, $allowedFileds) ) { |
| 165 | 165 | unset($properties->update[$u]); |
| 166 | - }else{ |
|
| 166 | + } else{ |
|
| 167 | 167 | $set .= $u . ' = :' . $u . ','; |
| 168 | 168 | $binds[$u] = $update; |
| 169 | 169 | } |