Skip to content

Commit

Permalink
removed useless changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Geist5000 authored Aug 16, 2022
1 parent d756e58 commit 507fb44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/Http/Controllers/SaveController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Illuminate\Http\Resources\Json\AnonymousResourceCollection;
use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Auth;

/**
* Controller, welcher Routen zum Verwalten von Speicherständen implementiert
Expand Down
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function sharedSaves(): HasMany
* @param bool $withPivot Ob die Pivot Tabelle mitgeladen werden soll
* @return BelongsToMany
*/
public function accessibleShares(bool|array $withPivot = true): BelongsToMany
public function accessibleShares(bool $withPivot = true): BelongsToMany
{
$q = $this->belongsToMany(Save::class, 'shared_save')->using(SharedSave::class)
->withPivotValue("accepted", true)
Expand Down

0 comments on commit 507fb44

Please sign in to comment.