@@ -11,7 +11,7 @@ |
||
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 | /** |
@@ -22,7 +22,7 @@ |
||
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 |
@@ -22,7 +22,7 @@ |
||
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 |
@@ -148,7 +148,7 @@ |
||
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 |
@@ -74,6 +74,6 @@ |
||
74 | 74 | */ |
75 | 75 | protected function commands() |
76 | 76 | { |
77 | - $this->load(__DIR__.'/Commands'); |
|
77 | + $this->load(__DIR__ . '/Commands'); |
|
78 | 78 | } |
79 | 79 | } |
@@ -33,6 +33,6 @@ |
||
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 | } |
@@ -58,7 +58,7 @@ |
||
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 |
@@ -36,7 +36,7 @@ |
||
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 | { |
@@ -115,7 +115,7 @@ discard block |
||
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 |
||
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) |