Passed
Push — master ( 479ffa...005cbc )
by Matthijs
01:42
created
src/Services/Coupon/CouponService.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
  
10 10
 class CouponService extends BaseService
11 11
 {
12
-	public function __construct(CouponRepository $coupon)
13
-	{
14
-		$this->repo = $coupon;
15
-	}
12
+    public function __construct(CouponRepository $coupon)
13
+    {
14
+        $this->repo = $coupon;
15
+    }
16 16
 
17 17
     /**
18 18
      * The validation rules for the model.
Please login to merge, or discard this patch.
src/Services/Faq/Entity/FaqItemRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
 
33 33
     function selectAllActiveByShopId($shopId)
34 34
     {
35
-         return $this->model->where('shop_id', '=', $shopId)->get();
35
+            return $this->model->where('shop_id', '=', $shopId)->get();
36 36
     }      
37 37
 }
38 38
\ No newline at end of file
Please login to merge, or discard this patch.
src/Services/Faq/FaqService.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@  discard block
 block discarded – undo
9 9
  
10 10
 class FaqService extends BaseService
11 11
 {
12
-	public function __construct(FaqItemRepository $faq)
13
-	{
14
-		$this->repo = $faq;
15
-	} 
12
+    public function __construct(FaqItemRepository $faq)
13
+    {
14
+        $this->repo = $faq;
15
+    } 
16 16
 
17 17
     /**
18 18
      * The validation rules for the model.
@@ -67,6 +67,6 @@  discard block
 block discarded – undo
67 67
     
68 68
     public function selectAllGroups()
69 69
     {
70
-    	return $this->repo->selectAllGroups();
70
+        return $this->repo->selectAllGroups();
71 71
     }
72 72
 }
73 73
\ No newline at end of file
Please login to merge, or discard this patch.
src/Services/BaseRepository.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,19 +4,19 @@
 block discarded – undo
4 4
  
5 5
 class BaseRepository 
6 6
 {
7
-	public function selectAll()
8
-	{
9
-	    return $this->model->where('shop_id', '=', auth('hideyobackend')->user()->selected_shop_id)->get();
10
-	}
7
+    public function selectAll()
8
+    {
9
+        return $this->model->where('shop_id', '=', auth('hideyobackend')->user()->selected_shop_id)->get();
10
+    }
11 11
 
12 12
     public function selectAllByShopId($shopId)
13 13
     {
14
-         return $this->model->where('shop_id', '=', $shopId)->get();
14
+            return $this->model->where('shop_id', '=', $shopId)->get();
15 15
     }
16 16
 
17 17
     public function selectAllActiveByShopId($shopId)
18 18
     {
19
-         return $this->model->where('shop_id', '=', $shopId)->where('active', '=', 1)->get();
19
+            return $this->model->where('shop_id', '=', $shopId)->where('active', '=', 1)->get();
20 20
     }
21 21
 
22 22
     public function getModel() {
Please login to merge, or discard this patch.
src/Services/Exception/ExceptionService.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
  
8 8
 class ExceptionService extends BaseService
9 9
 {
10
-	public function __construct(ExceptionItemRepository $exception)
11
-	{
12
-		$this->repo = $exception;
13
-	} 
10
+    public function __construct(ExceptionItemRepository $exception)
11
+    {
12
+        $this->repo = $exception;
13
+    } 
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.