Completed
Pull Request — master (#1034)
by Maxence
01:01
created
lib/InternalAsync/AsyncItemUpdate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -433,7 +433,7 @@
 block discarded – undo
433 433
 	 */
434 434
 	private function getAffectedCircles(string $singleId): array {
435 435
 		$circleIds = array_map(
436
-			function (SyncedShare $share): string {
436
+			function(SyncedShare $share): string {
437 437
 				return $share->getCircleId();
438 438
 			}, $this->syncedShareRequest->getshares($singleId)
439 439
 		);
Please login to merge, or discard this patch.
lib/Service/AsyncService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,16 +240,16 @@
 block discarded – undo
240 240
 		try {
241 241
 			$test = new ReflectionClass($class);
242 242
 		} catch (ReflectionException $e) {
243
-			throw new InternalAsyncException('ReflectionException with ' . $class . ': ' . $e->getMessage());
243
+			throw new InternalAsyncException('ReflectionException with '.$class.': '.$e->getMessage());
244 244
 		}
245 245
 
246 246
 		if (!in_array(IInternalAsync::class, $test->getInterfaceNames())) {
247
-			throw new InternalAsyncException($class . ' does not implements IInternalAsync');
247
+			throw new InternalAsyncException($class.' does not implements IInternalAsync');
248 248
 		}
249 249
 
250 250
 		$item = OC::$server->get($class);
251 251
 		if (!($item instanceof IInternalAsync)) {
252
-			throw new InternalAsyncException($class . ' not an IInternalAsync');
252
+			throw new InternalAsyncException($class.' not an IInternalAsync');
253 253
 		}
254 254
 
255 255
 		return $item;
Please login to merge, or discard this patch.
lib/Model/SyncedItemLock.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -202,13 +202,13 @@
 block discarded – undo
202 202
 	 * @throws ShareTokenNotFoundException
203 203
 	 */
204 204
 	public function importFromDatabase(array $data, string $prefix = ''): IQueryRow {
205
-		if ($this->get($prefix . 'token', $data) === '') {
205
+		if ($this->get($prefix.'token', $data) === '') {
206 206
 			throw new ShareTokenNotFoundException();
207 207
 		}
208 208
 
209
-		$this->setUpdateType($this->get($prefix . 'update_type', $data));
210
-		$this->setUpdateTypeId($this->get($prefix . 'update_type_id', $data));
211
-		$this->setTime($this->getInt($prefix . 'time', $data));
209
+		$this->setUpdateType($this->get($prefix.'update_type', $data));
210
+		$this->setUpdateTypeId($this->get($prefix.'update_type_id', $data));
211
+		$this->setTime($this->getInt($prefix.'time', $data));
212 212
 
213 213
 		return $this;
214 214
 	}
Please login to merge, or discard this patch.