Skip to content

Commit 7593f30

Browse files
authored
Merge pull request #713 from FriendsOfCake/ADmad-patch-1
Remove unneeded method override.
2 parents 5ebd299 + c820291 commit 7593f30

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Controller/ControllerTrait.php

-16
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,4 @@ public function setViewClasses(array $map): void
8383
{
8484
$this->viewClasses = $map;
8585
}
86-
87-
/**
88-
* Get the View classes this controller can perform content negotiation with.
89-
*
90-
* Each view class must implement the `getContentType()` hook method
91-
* to participate in negotiation.
92-
*
93-
* This overrides the Controller::viewClasses() of core.
94-
*
95-
* @see Cake\Http\ContentTypeNegotiation
96-
* @return array<string, class-string<\Cake\View\View>>
97-
*/
98-
public function viewClasses(): array
99-
{
100-
return $this->viewClasses;
101-
}
10286
}

0 commit comments

Comments
 (0)