@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | * |
308 | 308 | * @param \Illuminate\Database\Eloquent\Model $participable |
309 | 309 | * |
310 | - * @return \Arcanedev\LaravelMessenger\Models\Participation|mixed |
|
310 | + * @return EloquentModel |
|
311 | 311 | */ |
312 | 312 | public function addParticipant(EloquentModel $participable) |
313 | 313 | { |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | /** |
351 | 351 | * Remove many participables from discussion. |
352 | 352 | * |
353 | - * @param \Illuminate\Support\Collection|array $participables |
|
353 | + * @param EloquentModel[] $participables |
|
354 | 354 | * @param bool $reload |
355 | 355 | * |
356 | 356 | * @return int |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Arcanedev\LaravelMessenger\Contracts\Participation as ParticipationContract; |
6 | 6 | use Illuminate\Database\Eloquent\Builder; |
7 | 7 | use Illuminate\Database\Eloquent\Model as EloquentModel; |
8 | -use Illuminate\Database\Eloquent\SoftDeletes; |
|
9 | 8 | use Illuminate\Database\Query\JoinClause; |
10 | 9 | use Illuminate\Support\Carbon; |
11 | 10 | use Illuminate\Support\Collection; |