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

Commit 28be15c

Browse files
committed
Merge pull request #234 from boesing/enhancement/fix-docblock
Ensure proper PHPDoc and remove deprecated methods
2 parents badb5bd + 15d766f commit 28be15c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Controller/AbstractActionController.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Zend\Http\Response as HttpResponse;
1313
use Zend\Mvc\Exception;
1414
use Zend\Mvc\MvcEvent;
15+
use Zend\View\Model\ConsoleModel;
1516
use Zend\View\Model\ViewModel;
1617

1718
/**
@@ -27,7 +28,7 @@ abstract class AbstractActionController extends AbstractController
2728
/**
2829
* Default action if none provided
2930
*
30-
* @return array
31+
* @return ViewModel
3132
*/
3233
public function indexAction()
3334
{
@@ -39,7 +40,7 @@ public function indexAction()
3940
/**
4041
* Action called if matched action does not exist
4142
*
42-
* @return array
43+
* @return ViewModel|ConsoleModel
4344
*/
4445
public function notFoundAction()
4546
{
@@ -59,7 +60,8 @@ public function notFoundAction()
5960
*
6061
* @param MvcEvent $e
6162
* @return mixed
62-
* @throws Exception\DomainException
63+
*
64+
* @throws Exception\DomainException If no RouteMatch was found within MvcEvent.
6365
*/
6466
public function onDispatch(MvcEvent $e)
6567
{

0 commit comments

Comments
 (0)