Test Setup Failed
Push — dev6 ( 81193f...01d104 )
by Ron
22:34
created
app/Http/Controllers/Equip/EquipmentTypesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             if($field !== null)
61 61
             {
62 62
                 //  Determine if this is a new or existing field type
63
-                $fieldID  = DataFieldType::where('name', $field)->first();
63
+                $fieldID = DataFieldType::where('name', $field)->first();
64 64
                 if(!$fieldID)
65 65
                 {
66 66
                     $fieldID = DataFieldType::create(['name' => $field]);
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
             if($field !== null)
115 115
             {
116 116
                 //  Determine if this is a new or existing field type
117
-                $fieldID  = DataFieldType::where('name', $field)->first();
117
+                $fieldID = DataFieldType::where('name', $field)->first();
118 118
                 if(!$fieldID)
119 119
                 {
120 120
                     $fieldID = DataFieldType::create(['name' => $field]);
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
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $this->configureRateLimiting();
23 23
 
24
-        $this->routes(function () {
24
+        $this->routes(function() {
25 25
             // Route::prefix('api')
26 26
             //     ->middleware('api')
27 27
             //     ->namespace($this->namespace)
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     protected function configureRateLimiting()
42 42
     {
43
-        RateLimiter::for('api', function (Request $request) {
43
+        RateLimiter::for('api', function(Request $request) {
44 44
             return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip());
45 45
         });
46 46
     }
Please login to merge, or discard this patch.