Completed
Push — master ( 758e52...de0574 )
by Alex
03:57
created
app/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-Route::get('/', function () {
14
+Route::get('/', function() {
15 15
     return view('welcome');
16 16
 });
Please login to merge, or discard this patch.
app/Http/Controllers/CalculatorApiController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,7 @@
 block discarded – undo
7 7
 use App\User;
8 8
 use Chrisbjr\ApiGuard\Http\Controllers\ApiGuardController;
9 9
 use Illuminate\Http\Request;
10
-use App\Http\Requests;
11 10
 use Illuminate\Support\Facades\Auth;
12
-use Illuminate\Support\Facades\Input;
13 11
 
14 12
 /**
15 13
  * Class CalculatorApiController
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $this->calculator->create($calcul);
74 74
 
75
-       return $this->response->withItem($calcul, $this->calcul_transformer);
75
+        return $this->response->withItem($calcul, $this->calcul_transformer);
76 76
     }
77 77
 
78 78
 
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     {
55 55
         $router->group([
56 56
             'namespace' => $this->namespace, 'middleware' => 'web',
57
-        ], function ($router) {
57
+        ], function($router) {
58 58
             require app_path('Http/routes.php');
59 59
         });
60 60
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $router->group([
65 65
             'namespace' => $this->namespace,
66
-        ], function ($router) {
66
+        ], function($router) {
67 67
             require app_path('Http/routes-api.php');
68 68
         });
69 69
     }
Please login to merge, or discard this patch.
app/Http/routes-api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-Route::group(['prefix' => 'api/'], function () {
4
+Route::group([ 'prefix' => 'api/' ], function() {
5 5
     Route::post('calc/save', 'CalculatorApiController@store');
6 6
 });
7 7
\ No newline at end of file
Please login to merge, or discard this patch.