@@ -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 | /** |
@@ -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 | } |
@@ -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 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | class PollForm extends Form |
8 | 8 | { |
9 | - const RULE_TITLE = 'nullable|string|max:100'; |
|
9 | + const RULE_TITLE = 'nullable|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 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | 'plan_id' => [ |
48 | 48 | 'bail', |
49 | 49 | Rule::requiredIf(function () use ($job) { |
50 | - return ! $job->exists; |
|
50 | + return !$job->exists; |
|
51 | 51 | }), |
52 | 52 | |
53 | 53 | 'int', |