@@ -79,7 +79,7 @@ |
||
| 79 | 79 | return false; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - return ! $this->stream->hasLoggedBefore($event->user->id, $event->ip, $event->browser); |
|
| 82 | + return !$this->stream->hasLoggedBefore($event->user->id, $event->ip, $event->browser); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | class PollForm extends Form |
| 8 | 8 | { |
| 9 | - const RULE_TITLE = 'string|max:100'; |
|
| 9 | + const RULE_TITLE = 'string|max:100'; |
|
| 10 | 10 | // @todo dodac walidator sprawdzajacy liczbe (oraz dlugosc) linii |
| 11 | 11 | // @todo musimy pisac "poll.title" jezeli ten formularz jest dzieckiem. reguly powinny byc zmieniane |
| 12 | 12 | // przez klase Form |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Coyote\Http\Factories\MediaFactory; |
| 7 | 7 | use Coyote\Repositories\Contracts\SessionRepositoryInterface as SessionRepository; |
| 8 | 8 | use Coyote\Repositories\Contracts\UserRepositoryInterface as UserRepository; |
| 9 | -use Coyote\Services\Session\Registered; |
|
| 10 | 9 | use Illuminate\Http\Request; |
| 11 | 10 | use Jenssegers\Agent\Agent; |
| 12 | 11 | |
@@ -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 | } |