@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | } |
134 | 134 | |
135 | 135 | /** |
136 | - * @param mixed $class |
|
136 | + * @param string $class |
|
137 | 137 | * |
138 | 138 | * @return self |
139 | 139 | */ |
@@ -454,7 +454,7 @@ discard block |
||
454 | 454 | |
455 | 455 | /** |
456 | 456 | * @param string $key |
457 | - * @param array $result |
|
457 | + * @param \OCA\Circles\Model\ShareWrapper[] $result |
|
458 | 458 | * |
459 | 459 | * @return $this |
460 | 460 | */ |
@@ -251,16 +251,16 @@ |
||
251 | 251 | try { |
252 | 252 | $test = new ReflectionClass($class); |
253 | 253 | } catch (ReflectionException $e) { |
254 | - throw new FederatedEventException('ReflectionException with ' . $class . ': ' . $e->getMessage()); |
|
254 | + throw new FederatedEventException('ReflectionException with '.$class.': '.$e->getMessage()); |
|
255 | 255 | } |
256 | 256 | |
257 | 257 | if (!in_array(IFederatedItem::class, $test->getInterfaceNames())) { |
258 | - throw new FederatedEventException($class . ' does not implements IFederatedItem'); |
|
258 | + throw new FederatedEventException($class.' does not implements IFederatedItem'); |
|
259 | 259 | } |
260 | 260 | |
261 | 261 | $item = OC::$server->get($class); |
262 | 262 | if (!($item instanceof IFederatedItem)) { |
263 | - throw new FederatedEventException($class . ' not an IFederatedItem'); |
|
263 | + throw new FederatedEventException($class.' not an IFederatedItem'); |
|
264 | 264 | } |
265 | 265 | |
266 | 266 | if ($item instanceof IFederatedItemHighSeverity) { |