Passed
Push — master ( 4c30a2...697d1a )
by Matthijs
05:29
created
src/Services/BaseRepository.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Hideyo\Ecommerce\Framework\Services;
3 3
 
4
- class BaseRepository 
4
+    class BaseRepository 
5 5
 {
6 6
     /**
7 7
      * Select all model items
8 8
      * @return object|null
9 9
      */
10
-	public function selectAll()
11
-	{
12
-	    return $this->model->where('shop_id', auth('hideyobackend')->user()->selected_shop_id)->get();
13
-	}
10
+    public function selectAll()
11
+    {
12
+        return $this->model->where('shop_id', auth('hideyobackend')->user()->selected_shop_id)->get();
13
+    }
14 14
 
15 15
     /**
16 16
      * select all models by shop id
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function selectAllByShopId($shopId)
21 21
     {
22
-         return $this->model->where('shop_id', $shopId)->get();
22
+            return $this->model->where('shop_id', $shopId)->get();
23 23
     }
24 24
 
25 25
     /**
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function selectAllActiveByShopId($shopId)
31 31
     {
32
-         return $this->model->where('shop_id', $shopId)->where('active', 1)->get();
32
+            return $this->model->where('shop_id', $shopId)->where('active', 1)->get();
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.