Completed
Push — dev5 ( e18bfd...f3ddc1 )
by Ron
25:27
created
app/Http/Controllers/TechTips/TechTipsController.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@
 block discarded – undo
332 332
         
333 333
         usort($kbArray, function($a, $b)
334 334
         {
335
-          return $b['created'] <=> $a['created'];
335
+            return $b['created'] <=> $a['created'];
336 336
         });
337 337
         
338 338
         return response()->json($kbArray);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     
268 268
     public function search(Request $request)
269 269
     {
270
-        Log::debug('request Data -> '. $request->getContent());
270
+        Log::debug('request Data -> '.$request->getContent());
271 271
         
272 272
 
273 273
         $tips = [];
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
             
298 298
             
299 299
             
300
-            Log::debug('request Data -> '. $request->getContent());
300
+            Log::debug('request Data -> '.$request->getContent());
301 301
             
302 302
             
303 303
         }
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
                 
177 177
                 Log::debug('Route '.Route::currentRouteName().' visited by User ID-'.Auth::user()->user_id);
178 178
                 return response()->json(['url' => route('tips.details', [$tipID, urlencode($request->subject)])]);
179
-            } 
179
+            }
180 180
             else
181 181
             {
182 182
                 $file = $save->getFile();
@@ -330,8 +330,7 @@  discard block
 block discarded – undo
330 330
             ];
331 331
         }
332 332
         
333
-        usort($kbArray, function($a, $b)
334
-        {
333
+        usort($kbArray, function($a, $b) {
335 334
           return $b['created'] <=> $a['created'];
336 335
         });
337 336
         
Please login to merge, or discard this patch.