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

Commit 07445a6

Browse files
committed
Fixed PHPDoc in AbstractActionController
- Fixed `return` for `AbstractActionController::indexAction` - Added exception description to `AbstractActionController::onDispatch`
1 parent 94cc178 commit 07445a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Controller/AbstractActionController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ abstract class AbstractActionController extends AbstractController
2828
/**
2929
* Default action if none provided
3030
*
31-
* @return array
31+
* @return ViewModel
3232
*/
3333
public function indexAction()
3434
{
@@ -60,7 +60,8 @@ public function notFoundAction()
6060
*
6161
* @param MvcEvent $e
6262
* @return mixed
63-
* @throws Exception\DomainException
63+
*
64+
* @throws Exception\DomainException If no RouteMatch was found within MvcEvent.
6465
*/
6566
public function onDispatch(MvcEvent $e)
6667
{

0 commit comments

Comments
 (0)