@@ -168,12 +168,12 @@ discard block |
||
| 168 | 168 | try { |
| 169 | 169 | $gs = OC::$server->query($class); |
| 170 | 170 | if (!$gs instanceof AGlobalScaleEvent) { |
| 171 | - throw new GlobalScaleEventException($class . ' not an AGlobalScaleEvent'); |
|
| 171 | + throw new GlobalScaleEventException($class.' not an AGlobalScaleEvent'); |
|
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | return $gs; |
| 175 | 175 | } catch (QueryException $e) { |
| 176 | - throw new GlobalScaleEventException('AGlobalScaleEvent ' . $class . ' not found'); |
|
| 176 | + throw new GlobalScaleEventException('AGlobalScaleEvent '.$class.' not found'); |
|
| 177 | 177 | } |
| 178 | 178 | } |
| 179 | 179 | |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | } |
| 193 | 193 | } |
| 194 | 194 | |
| 195 | - return md5('gskey:' . $key); |
|
| 195 | + return md5('gskey:'.$key); |
|
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | $instances = $this->retrieveJson($request); |
| 240 | 240 | } catch (RequestContentException | RequestNetworkException | RequestResultSizeException | RequestServerException | RequestResultNotJsonException $e) { |
| 241 | 241 | $this->miscService->log( |
| 242 | - 'Issue while retrieving instances from lookup: ' . get_class($e) . ' ' . $e->getMessage() |
|
| 242 | + 'Issue while retrieving instances from lookup: '.get_class($e).' '.$e->getMessage() |
|
| 243 | 243 | ); |
| 244 | 244 | |
| 245 | 245 | return []; |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | $className = $event->getType(); |
| 283 | 283 | if (substr($className, 0, 25) !== '\OCA\Circles\GlobalScale\\' || strpos($className, '.')) { |
| 284 | 284 | throw new GlobalScaleEventException( |
| 285 | - $className . ' does not seems to be a secured AGlobalScaleEvent' |
|
| 285 | + $className.' does not seems to be a secured AGlobalScaleEvent' |
|
| 286 | 286 | ); |
| 287 | 287 | } |
| 288 | 288 | |