Completed
Push — master ( 03841e...c8ea4b )
by Sherif
05:27
created
src/Modules/Notifications/Repositories/NotificationRepository.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -11,28 +11,28 @@
 block discarded – undo
11 11
 	 */
12 12
 	protected function getModel()
13 13
 	{
14
-        $apiVersion = \Request::header('api-version') ?: 1;
14
+		$apiVersion = \Request::header('api-version') ?: 1;
15 15
 		return 'App\Modules\Notifications\Notification';
16 16
 	}
17 17
 
18 18
 	/**
19
-     * Set the notification notified to true.
20
-     * 
21
-     * @param  integer  $id
22
-     * @return object
23
-     */
24
-    public function notified($id)
25
-    {
26
-        return $this->save(['id' => $id, 'notified' => 1]);
27
-    }
19
+	 * Set the notification notified to true.
20
+	 * 
21
+	 * @param  integer  $id
22
+	 * @return object
23
+	 */
24
+	public function notified($id)
25
+	{
26
+		return $this->save(['id' => $id, 'notified' => 1]);
27
+	}
28 28
 
29
-    /**
30
-     * Set the notification notified to all.
31
-     * 
32
-     * @return void
33
-     */
34
-    public function notifyAll()
35
-    {
36
-        \Core::notifications()->update(false, ['notified' => 1], 'notified');
37
-    }
29
+	/**
30
+	 * Set the notification notified to all.
31
+	 * 
32
+	 * @return void
33
+	 */
34
+	public function notifyAll()
35
+	{
36
+		\Core::notifications()->update(false, ['notified' => 1], 'notified');
37
+	}
38 38
 }
Please login to merge, or discard this patch.
src/Modules/Reporting/Http/Controllers/ReportsController.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -8,16 +8,16 @@
 block discarded – undo
8 8
 class ReportsController extends BaseApiController
9 9
 {
10 10
 	/**
11
-     * The name of the model that is used by the base api controller 
12
-     * to preform actions like (add, edit ... etc).
13
-     * @var string
14
-     */
15
-    protected $model            = 'reports';
11
+	 * The name of the model that is used by the base api controller 
12
+	 * to preform actions like (add, edit ... etc).
13
+	 * @var string
14
+	 */
15
+	protected $model            = 'reports';
16 16
 
17
-    /**
18
-     * List of all route actions that the base api controller
19
-     * will skip permissions check for them.
20
-     * @var array
21
-     */
22
-    protected $skipPermissionCheck = ['find', 'first'];
17
+	/**
18
+	 * List of all route actions that the base api controller
19
+	 * will skip permissions check for them.
20
+	 * @var array
21
+	 */
22
+	protected $skipPermissionCheck = ['find', 'first'];
23 23
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      * to preform actions like (add, edit ... etc).
13 13
      * @var string
14 14
      */
15
-    protected $model            = 'reports';
15
+    protected $model = 'reports';
16 16
 
17 17
     /**
18 18
      * List of all route actions that the base api controller
Please login to merge, or discard this patch.