| @@ -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 | |
| @@ -26,7 +26,7 @@ | ||
| 26 | 26 |      { | 
| 27 | 27 | $data = array_except( | 
| 28 | 28 | $this->resource->toArray(), | 
| 29 | - ['slug', 'user_id', 'headline', 'employees', 'founded', 'country_id', 'vat_id', 'deleted_at', 'is_private', 'benefits','gallery'] | |
| 29 | + ['slug', 'user_id', 'headline', 'employees', 'founded', 'country_id', 'vat_id', 'deleted_at', 'is_private', 'benefits', 'gallery'] | |
| 30 | 30 | ); | 
| 31 | 31 | |
| 32 | 32 | return array_merge($data, [ | 
| @@ -111,7 +111,7 @@ | ||
| 111 | 111 | ]; | 
| 112 | 112 | |
| 113 | 113 |          if (!$asset->isImage()) { | 
| 114 | - $headers['Content-Disposition'] = 'attachment; filename="'. $asset->name .'"'; | |
| 114 | + $headers['Content-Disposition'] = 'attachment; filename="' . $asset->name . '"'; | |
| 115 | 115 | } | 
| 116 | 116 | |
| 117 | 117 | return response()->make($filesystem->get($asset->path), 200, $headers); | 
| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | */ | 
| 16 | 16 | protected $preserveKeys = true; | 
| 17 | 17 | |
| 18 | - protected Guide|Job $owner; | |
| 18 | + protected Guide | Job $owner; | |
| 19 | 19 | |
| 20 | - public function setOwner(Guide|Job $owner): static | |
| 20 | + public function setOwner(Guide | Job $owner): static | |
| 21 | 21 |      { | 
| 22 | 22 | $this->owner = $owner; | 
| 23 | 23 | |
| @@ -83,6 +83,6 @@ | ||
| 83 | 83 | |
| 84 | 84 | private function isNotComment(): bool | 
| 85 | 85 |      { | 
| 86 | -        return ! $this->parent_id && $this->resource->relationLoaded('comments'); | |
| 86 | +        return !$this->parent_id && $this->resource->relationLoaded('comments'); | |
| 87 | 87 | } | 
| 88 | 88 | } |