Completed
Push — 3.0 ( d7662c...da70c8 )
by Olivier
02:40
created
lib/Hooks.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 	 *
217 217
 	 * This is the getter for the `$app->user` property.
218 218
 	 *
219
-	 * @param Core|CoreBindings|\ICanBoogie\Binding\ActiveRecord\CoreBindings $app
219
+	 * @param Core $app
220 220
 	 *
221 221
 	 * @return User The user object, or guest user object.
222 222
 	 */
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
 	/**
276 276
 	 * Checks if a user has a given permission.
277 277
 	 *
278
-	 * @param Core|CoreBindings $app
278
+	 * @param Core $app
279 279
 	 * @param User $user
280 280
 	 * @param string $permission
281 281
 	 * @param string $target
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 	/**
293 293
 	 * Checks if a user has the ownership of a record.
294 294
 	 *
295
-	 * @param Core|CoreBindings $app
295
+	 * @param Core $app
296 296
 	 * @param User $user
297 297
 	 * @param ActiveRecord $record
298 298
 	 *
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
 	 */
359 359
 
360 360
 	/**
361
-	 * @return Core|\Icybee\Binding\CoreBindings
361
+	 * @return Core
362 362
 	 */
363 363
 	static private function app()
364 364
 	{
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,9 @@
 block discarded – undo
233 233
 				$user = $model[$uid];
234 234
 			}
235 235
 		}
236
-		catch (\Exception $e) {}
236
+		catch (\Exception $e)
237
+		{
238
+}
237 239
 
238 240
 		if (!$user)
239 241
 		{
Please login to merge, or discard this patch.