Permalink
Browse files

Yoda condition

  • Loading branch information...
bakura10 committed Jan 23, 2013
1 parent 3e40f72 commit d01e73fc2223e8dcac5371c32d92c245068dc948
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Mvc/Router/SimpleRouteStack.php
@@ -48,7 +48,7 @@ public function __construct(RoutePluginManager $routePluginManager = null)
{
$this->routes = new PriorityList();
- if ($routePluginManager === null) {
+ if (null === $routePluginManager) {
$routePluginManager = new RoutePluginManager();
}

0 comments on commit d01e73f

Please sign in to comment.