Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Sep 26, 2022
1 parent af5ea2a commit f8fa88b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/DTO/AbstractAlbumDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public function toArray(): array
// add the rights
$albumDTO['rights'] = AlbumRights::ofAlbum($this->album);


// TODO: add this to appends in toArray of Album.
// Provide the policies if the user can edit.
$albumDTO['policies'] = $albumDTO['rights']->can_edit ? AlbumProtectionPolicy::ofAlbum($this->album) : null;
Expand Down
1 change: 0 additions & 1 deletion app/DTO/ArrayableDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* we can directly make use of a reflection which returns an array containing
* all the PUBLIC attributes of the DTO.
*/

class ArrayableDTO extends DTO
{
/**
Expand Down

0 comments on commit f8fa88b

Please sign in to comment.