Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 94cc178

Browse files
committed
Removed already flagged deprecated methods from AbstractActionController
Since those methods got already replaced by controller plugins, we can safely remove the method declaration and let the `AbstractController::__call` method handle the plugin calls.
1 parent 0f5fef1 commit 94cc178

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

src/Controller/AbstractActionController.php

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function notFoundAction()
5252
if ($response instanceof HttpResponse) {
5353
return $this->createHttpNotFoundModel($response);
5454
}
55-
return $this->createConsoleNotFoundModel($response);
55+
return $this->createConsoleNotFoundModel();
5656
}
5757

5858
/**
@@ -86,26 +86,4 @@ public function onDispatch(MvcEvent $e)
8686

8787
return $actionResponse;
8888
}
89-
90-
/**
91-
* @deprecated please use the {@see \Zend\Mvc\Controller\Plugin\CreateHttpNotFoundModel} plugin instead: this
92-
* method will be removed in release 2.5 or later.
93-
*
94-
* {@inheritDoc}
95-
*/
96-
protected function createHttpNotFoundModel(HttpResponse $response)
97-
{
98-
return $this->__call('createHttpNotFoundModel', [$response]);
99-
}
100-
101-
/**
102-
* @deprecated please use the {@see \Zend\Mvc\Controller\Plugin\CreateConsoleNotFoundModel} plugin instead: this
103-
* method will be removed in release 2.5 or later.
104-
*
105-
* {@inheritDoc}
106-
*/
107-
protected function createConsoleNotFoundModel($response)
108-
{
109-
return $this->__call('createConsoleNotFoundModel', [$response]);
110-
}
11189
}

0 commit comments

Comments
 (0)