Skip to content

Commit

Permalink
Merge pull request #713 from FriendsOfCake/ADmad-patch-1
Browse files Browse the repository at this point in the history
Remove unneeded method override.
  • Loading branch information
ADmad authored May 31, 2024
2 parents 5ebd299 + c820291 commit 7593f30
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/Controller/ControllerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,4 @@ public function setViewClasses(array $map): void
{
$this->viewClasses = $map;
}

/**
* Get the View classes this controller can perform content negotiation with.
*
* Each view class must implement the `getContentType()` hook method
* to participate in negotiation.
*
* This overrides the Controller::viewClasses() of core.
*
* @see Cake\Http\ContentTypeNegotiation
* @return array<string, class-string<\Cake\View\View>>
*/
public function viewClasses(): array
{
return $this->viewClasses;
}
}

0 comments on commit 7593f30

Please sign in to comment.