We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 689a6a5 commit e7a985bCopy full SHA for e7a985b
src/Annotator/ControllerAnnotator.php
@@ -117,7 +117,7 @@ protected function _getComponentAnnotations($controllerName) {
117
* @return array
118
*/
119
protected function _getUsedComponents($controllerName) {
120
- $plugin = $this->getConfig(static::CONFIG_PLUGIN);
+ $plugin = $controllerName !== 'AppController' ? $this->getConfig(static::CONFIG_PLUGIN) : null;
121
$className = App::className(($plugin ? $plugin . '.' : '') . $controllerName, 'Controller');
122
if (!$className) {
123
return [];
0 commit comments