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

Updated AbstractActionController::indexAction return type to reflect real usage #312

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Controller/AbstractActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

use Zend\Mvc\Exception;
use Zend\Mvc\MvcEvent;
use Zend\Stdlib\ResponseInterface;
use Zend\View\Model\ModelInterface as ViewModelInterface;
use Zend\View\Model\ViewModel;

/**
Expand All @@ -24,7 +26,7 @@ abstract class AbstractActionController extends AbstractController
/**
* Default action if none provided
*
* @return ViewModel
* @return null|array|ViewModelInterface|ResponseInterface
*/
public function indexAction()
{
Expand Down