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

Commit 0315393

Browse files
committed
Merge pull request #18 from samsonasik/hotfix/annotation-null
Fixes #11 : add null| to annotation to routeMatch
2 parents 95442ae + b8494ae commit 0315393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MvcEvent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class MvcEvent extends Event
5252
protected $router;
5353

5454
/**
55-
* @var Router\RouteMatch
55+
* @var null|Router\RouteMatch
5656
*/
5757
protected $routeMatch;
5858

@@ -110,7 +110,7 @@ public function setRouter(Router\RouteStackInterface $router)
110110
/**
111111
* Get route match
112112
*
113-
* @return Router\RouteMatch
113+
* @return null|Router\RouteMatch
114114
*/
115115
public function getRouteMatch()
116116
{

0 commit comments

Comments
 (0)