Completed
Push — master ( 4a7f40...a2ef1f )
by Maxence
03:32 queued 01:37
created
lib/Service/GlobalScaleService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -168,12 +168,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.