Passed
Push — ft/states ( 7308c2...951142 )
by Ben
07:06
created
src/Users/Invites/Application/InviteUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         try {
17 17
             DB::beginTransaction();
18 18
 
19
-            $invitation = Invitation::make((string) $invitee->id, (string) $inviter->id);
19
+            $invitation = Invitation::make((string)$invitee->id, (string)$inviter->id);
20 20
 
21 21
             InvitationState::make($invitation)->apply('invite');
22 22
 
Please login to merge, or discard this patch.
src/Management/Assistants/PublishAssistant.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             ->performedOn($this->manager->existingModel())
60 60
             ->log('published');
61 61
 
62
-        return redirect()->to($this->manager->route('edit'))->with('messages.success', $this->manager->details()->title . ' is online gezet.');
62
+        return redirect()->to($this->manager->route('edit'))->with('messages.success', $this->manager->details()->title.' is online gezet.');
63 63
     }
64 64
 
65 65
     public function unpublish()
@@ -73,12 +73,12 @@  discard block
 block discarded – undo
73 73
             ->performedOn($this->manager->existingModel())
74 74
             ->log('unpublished');
75 75
 
76
-        return redirect()->to($this->manager->route('edit'))->with('messages.success', $this->manager->details()->title . ' is offline gehaald.');
76
+        return redirect()->to($this->manager->route('edit'))->with('messages.success', $this->manager->details()->title.' is offline gehaald.');
77 77
     }
78 78
 
79 79
     public function findAll(): Collection
80 80
     {
81
-        return $this->manager->existingModel()->published()->get()->map(function ($model) {
81
+        return $this->manager->existingModel()->published()->get()->map(function($model) {
82 82
             return $this->managers->findByModel($model);
83 83
         });
84 84
     }
@@ -129,10 +129,10 @@  discard block
 block discarded – undo
129 129
             $class = 'text-warning';
130 130
         }
131 131
 
132
-        $statusAsLabel = '<span class="' . $class . '">' . $label . '</span>';
132
+        $statusAsLabel = '<span class="'.$class.'">'.$label.'</span>';
133 133
 
134 134
         if (!$plain && $this->hasPreviewUrl()) {
135
-            $statusAsLabel = '<a href="' . $this->previewUrl() . '" target="_blank">' . $statusAsLabel . '</a>';
135
+            $statusAsLabel = '<a href="'.$this->previewUrl().'" target="_blank">'.$statusAsLabel.'</a>';
136 136
         }
137 137
 
138 138
         return $statusAsLabel;
Please login to merge, or discard this patch.