Completed
Push — master ( 28284e...eaa9bf )
by
unknown
12:07
created
app/Http/Requests/InvolveProductRequest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function authorize()
14 14
     {
15 15
         $product = $this->route()->getParameter('product');
16
-       /* if ($product) {
16
+        /* if ($product) {
17 17
             if (! $this->getInvolvedRepository()->checkIfAuthInvolved($product))
18 18
                 return true;
19 19
         }*/
Please login to merge, or discard this patch.
app/Http/Requests/ContactSend.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 class ContactSend extends Request
7 7
 {
8 8
     
9
- /**
9
+    /**
10 10
      * @return bool
11 11
      */
12 12
     public function authorize()
Please login to merge, or discard this patch.
app/Http/Controllers/LotsController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             'sub_category' => $sub_category,
148 148
             'respons'      => true
149 149
         );
150
-         return response($json);
150
+            return response($json);
151 151
     }
152 152
 
153 153
     /**
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      */
232 232
     public function index()
233 233
     {
234
-       /* dd(Lot::all());*/
234
+        /* dd(Lot::all());*/
235 235
     }
236 236
 
237 237
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/VendorController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
             $was_liked = "not_liked"; 
124 124
         }
125 125
 
126
-       if($vendor->likes()->count())
126
+        if($vendor->likes()->count())
127 127
         {
128 128
             $positive_like_percent = 
129 129
             ($vendor->likes()->count() - $vendor->getLikes('dislike')->count()) / $vendor->likes()->count() * 100;
Please login to merge, or discard this patch.
app/Http/Controllers/ProductsController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
                 $this->addImage($image, $product);
119 119
             });
120 120
 
121
-       /* if (!empty($specs = $request->get('i_spec')))
121
+        /* if (!empty($specs = $request->get('i_spec')))
122 122
             $this->saveImprovedSpecifications($specs, $product);*/
123 123
 
124 124
         $json = array(
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         //dd($request->get('spec_price'));
251 251
         //dd(collect($request->get('spec_price'))->first());
252 252
         //$collection = $request->get('spec_price');
253
-       /* $collection = collect($request->get('spec_price'));
253
+        /* $collection = collect($request->get('spec_price'));
254 254
         $filtered = $collection->filter(function ($item) {
255 255
             return $item['new_price'] != '' && $item['old_price'] != '';
256 256
         })->values();
Please login to merge, or discard this patch.
app/MethodDeliveryPayment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
     public function getImageAttribute($value)
28 28
     {
29 29
         //add full path to image
30
-      if (!empty($value)) {
30
+        if (!empty($value)) {
31 31
         return str_replace('\\', '/', $value);
32
-      }
32
+        }
33 33
     }
34 34
 
35 35
     public function delete(){
Please login to merge, or discard this patch.
app/Image.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         return $query->whereType('cover');
42 42
     }
43 43
 
44
-   /**
44
+    /**
45 45
      * Scope avatar image.
46 46
      *
47 47
      * @param $query
Please login to merge, or discard this patch.
app/Libraries/Likeable/LikeCounter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@
 block discarded – undo
7 7
 
8 8
 class LikeCounter extends Eloquent
9 9
 {
10
-	use LikeableModels;
11
-	protected $table = 'likeable_like_counters';
12
-	public $timestamps = false;
13
-	protected $fillable = ['likable_id', 'likable_type', 'count', 'type'];
10
+    use LikeableModels;
11
+    protected $table = 'likeable_like_counters';
12
+    public $timestamps = false;
13
+    protected $fillable = ['likable_id', 'likable_type', 'count', 'type'];
14 14
 
15
-	public function likable()
16
-	{
17
-		return $this->morphTo();
18
-	}
15
+    public function likable()
16
+    {
17
+        return $this->morphTo();
18
+    }
19 19
 }
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
app/Libraries/Likeable/LikeableModels.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 trait LikeableModels 
6 6
 {
7
-	public function scopeTypeLike($query, $type)
8
-	{
9
-		return $query->where('type', $type);
10
-	}
7
+    public function scopeTypeLike($query, $type)
8
+    {
9
+        return $query->where('type', $type);
10
+    }
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.