Skip to content

Commit

Permalink
Cleaned code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed May 15, 2023
1 parent 296ec91 commit 5394a23
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Controller/IiifServerControllerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ protected function isImageResource(MediaRepresentation $media): bool
return substr((string) $media->mediaType(), 0, 6) === 'image/';
}

/**
* Similar to \IiifServer\Controller\PresentationController::fetchResource().
*/
protected function fetchResource(string $resourceType = 'resources'): ?AbstractResourceEntityRepresentation
{
$resource = $this->params()->fromRoute('resource');
Expand Down

0 comments on commit 5394a23

Please sign in to comment.