Completed
Pull Request — master (#452)
by Daniel
04:00
created
app/Notifications/Post/UserMentionedNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     protected function getMailSubject(): string
13 13
     {
14
-        return $this->getSender(). ' wspomniał o Tobie w poście na forum';
14
+        return $this->getSender() . ' wspomniał o Tobie w poście na forum';
15 15
     }
16 16
 
17 17
     /**
Please login to merge, or discard this patch.
app/Notifications/Microblog/UserMentionedNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
             'object_id'     => $this->objectId(),
23 23
             'user_id'       => $user->id,
24 24
             'type_id'       => static::ID,
25
-            'subject'       => excerpt($this->microblog->parent_id ? $this->microblog->parent->html : $this->microblog->html),  // original excerpt of parent entry
25
+            'subject'       => excerpt($this->microblog->parent_id ? $this->microblog->parent->html : $this->microblog->html), // original excerpt of parent entry
26 26
             'excerpt'       => excerpt($this->microblog->html),
27 27
             'url'           => $url,
28 28
             'guid'          => $this->id
Please login to merge, or discard this patch.
app/Notifications/Microblog/VotedNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
             'object_id'     => $this->objectId(),
23 23
             'user_id'       => $user->id,
24 24
             'type_id'       => static::ID,
25
-            'subject'       => excerpt($this->microblog->parent_id ? $this->microblog->parent->html : $this->microblog->html),  // original excerpt of parent entry
25
+            'subject'       => excerpt($this->microblog->parent_id ? $this->microblog->parent->html : $this->microblog->html), // original excerpt of parent entry
26 26
             'excerpt'       => excerpt($this->microblog->html),
27 27
             'url'           => $url,
28 28
             'guid'          => $this->id
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
             }
149 149
 
150 150
             return $this->filter(function (User $user) use ($others) {
151
-                return ! $others->contains('id', $user->id);
151
+                return !$others->contains('id', $user->id);
152 152
             });
153 153
         });
154 154
 
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,6 +74,6 @@
 block discarded – undo
74 74
      */
75 75
     protected function commands()
76 76
     {
77
-        $this->load(__DIR__.'/Commands');
77
+        $this->load(__DIR__ . '/Commands');
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
app/Notifications/Post/ChangedNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     protected function getMailSubject(): string
35 35
     {
36
-        return $this->getSender(). ' zmodyfikował post, który obserwujesz';
36
+        return $this->getSender() . ' zmodyfikował post, który obserwujesz';
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
app/Services/Stream/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
         $this->events->dispatch(new StreamSaving($activity));
60 60
 
61
-        $result =  $this->stream->create($activity->toArray());
61
+        $result = $this->stream->create($activity->toArray());
62 62
 
63 63
         $this->events->dispatch(new StreamSaved($result));
64 64
 
Please login to merge, or discard this patch.
app/Events/NotificationWasBroadcasted.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * Get the channels the event should be broadcast on.
38 38
      *
39
-     * @return array
39
+     * @return string[]
40 40
      */
41 41
     public function broadcastOn()
42 42
     {
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
     /**
117 117
      * @param Request $request
118
-     * @param $e
118
+     * @param TokenMismatchException $e
119 119
      * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
120 120
      */
121 121
     protected function renderTokenMismatchException(Request $request, $e)
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 
144 144
     /**
145 145
      * @param Request $request
146
-     * @param HttpException|ModelNotFoundException $e
146
+     * @param Exception $e
147 147
      * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|SymfonyResponse
148 148
      */
149 149
     protected function renderHttpErrorException(Request $request, $e)
Please login to merge, or discard this patch.