Completed
Branch master (d0be1a)
by Curtis
06:54
created
app/Http/Controllers/Event/EventController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function index(Request $request)
19 19
     {
20
-        return Event::for($request->only([
20
+        return Event::for ($request->only([
21 21
             'events.id', 'event_id', 'event_type', 'event_types_name', 'events.is_active', 'events.name', 'events.description', 'events.date',
22 22
         ]))->join('event_types', 'event_types.id', '=', 'events.event_type_id')
23 23
             ->select('events.id', 'events.name', 'events.description', 'events.date', 'events.event_id', 'events.is_active', 'events.event_id', 'events.event_type', \DB::raw('event_types.name AS event_types_name'))
Please login to merge, or discard this patch.
app/Providers/AuthServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         $this->registerPolicies();
19 19
 
20
-        Horizon::auth(function ($request) {
20
+        Horizon::auth(function($request) {
21 21
             return auth()->check() && $request->user()->isAdmin();
22 22
         });
23 23
     }
Please login to merge, or discard this patch.
app/Imports/Importers/OwnerImporter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@
 block discarded – undo
9 9
 {
10 10
     public function run()
11 11
     {
12
-        \DB::transaction(function () {
12
+        \DB::transaction(function() {
13 13
             $this->rowsFromSheet('owners')
14
-                ->each(function ($row) {
14
+                ->each(function($row) {
15 15
                     $this->importRow($row);
16 16
                 });
17 17
         });
Please login to merge, or discard this patch.