@@ -544,7 +544,7 @@ |
||
| 544 | 544 | } |
| 545 | 545 | |
| 546 | 546 | /** |
| 547 | - * @param mixed $features |
|
| 547 | + * @param Feature[] $features |
|
| 548 | 548 | */ |
| 549 | 549 | public function setDefaultFeatures($features) |
| 550 | 550 | { |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | - * @return \Coyote\Tag[]|null |
|
| 83 | + * @return null|\Illuminate\Support\Collection |
|
| 84 | 84 | */ |
| 85 | 85 | private function getUserPopularTags() |
| 86 | 86 | { |
@@ -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 | |