Skip to content

Commit 6cae2d6

Browse files
committed
more fixes
1 parent 0b101ae commit 6cae2d6

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/Actions/Photo/Pipes/Init/FindLivePartner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace App\Actions\Photo\Pipes\Init;
1010

11-
use App\COnstants\PhotoAlbum as PA;
11+
use App\Constants\PhotoAlbum as PA;
1212
use App\Contracts\PhotoCreate\InitPipe;
1313
use App\DTO\PhotoCreate\InitDTO;
1414
use App\Exceptions\Internal\IllegalOrderOfOperationException;

app/Http/Resources/Collections/PositionDataResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public function __construct(
4141
Collection $photos,
4242
?string $track_url,
4343
) {
44-
$this->id = $album?->id;
45-
$this->title = $album?->title;
44+
$this->id = $album?->get_id();
45+
$this->title = $album?->get_title();
4646
$this->track_url = $track_url;
4747
$this->photos = $this->toPhotoResources($photos, $album);
4848
}

app/Http/Resources/Rights/PhotoRightsResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class PhotoRightsResource extends Data
2525
/**
2626
* Given a photo, returns the access rights associated to it.
2727
*
28-
* @param Photo $photo
28+
* @param ?AbstractAlbum $album
2929
*
3030
* @return void
3131
*/

0 commit comments

Comments
 (0)