This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree 2 files changed +25
-3
lines changed
2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file, in reverse chronological order by release.
4
4
5
+ ## 2.7.13 - TBD
6
+
7
+ ### Added
8
+
9
+ - Nothing.
10
+
11
+ ### Deprecated
12
+
13
+ - Nothing.
14
+
15
+ ### Removed
16
+
17
+ - Nothing.
18
+
19
+ ### Fixed
20
+
21
+ - [ #234 ] ( https://github.com/zendframework/zend-mvc/pull/234 ) fixes docblock
22
+ annotations in ` AbstractActionController::indexAction ` and ` notFoundAction ` to
23
+ indicate they return a ` ViewModel|ConsoleModel ` and not ` array ` .
24
+
5
25
## 2.7.12 - 2017-04-27
6
26
7
27
### Added
Original file line number Diff line number Diff line change 12
12
use Zend \Http \Response as HttpResponse ;
13
13
use Zend \Mvc \Exception ;
14
14
use Zend \Mvc \MvcEvent ;
15
+ use Zend \View \Model \ConsoleModel ;
15
16
use Zend \View \Model \ViewModel ;
16
17
17
18
/**
@@ -27,7 +28,7 @@ abstract class AbstractActionController extends AbstractController
27
28
/**
28
29
* Default action if none provided
29
30
*
30
- * @return array
31
+ * @return ViewModel
31
32
*/
32
33
public function indexAction ()
33
34
{
@@ -39,7 +40,7 @@ public function indexAction()
39
40
/**
40
41
* Action called if matched action does not exist
41
42
*
42
- * @return array
43
+ * @return ViewModel|ConsoleModel
43
44
*/
44
45
public function notFoundAction ()
45
46
{
@@ -59,7 +60,8 @@ public function notFoundAction()
59
60
*
60
61
* @param MvcEvent $e
61
62
* @return mixed
62
- * @throws Exception\DomainException
63
+ *
64
+ * @throws Exception\DomainException If no RouteMatch was found within MvcEvent.
63
65
*/
64
66
public function onDispatch (MvcEvent $ e )
65
67
{
You can’t perform that action at this time.
0 commit comments