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

Commit

Permalink
Merge branch 'hotfix/3130' into develop
Browse files Browse the repository at this point in the history
Forward port zendframework/zendframework#3130

Conflicts:
	README.md
	library/Zend/Version/Version.php
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/View/HelperConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class HelperConfig implements ConfigInterface
*/
public function configureServiceManager(ServiceManager $serviceManager)
{
$serviceManager->setFactory('navigation', function(HelperPluginManager $pm) {
$serviceManager->setFactory('navigation', function (HelperPluginManager $pm) {
$helper = new \Zend\View\Helper\Navigation;
$helper->setServiceLocator($pm->getServiceLocator());
return $helper;
Expand Down
4 changes: 2 additions & 2 deletions test/ServiceFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected function setUp()
'extra_config' => array(
'service_manager' => array(
'factories' => array(
'Config' => function() {
'Config' => function () {
return array(
'navigation' => array(
'file' => __DIR__ . '/_files/navigation.xml',
Expand Down Expand Up @@ -119,7 +119,7 @@ public function testMvcPagesGetInjectedWithComponents()
$this->serviceManager->setFactory('Navigation', 'Zend\Navigation\Service\DefaultNavigationFactory');
$container = $this->serviceManager->get('Navigation');

$recursive = function($that, $pages) use (&$recursive) {
$recursive = function ($that, $pages) use (&$recursive) {
foreach ($pages as $page) {
if ($page instanceof MvcPage) {
$that->assertInstanceOf('Zend\Mvc\Router\RouteStackInterface', $page->getRouter());
Expand Down

0 comments on commit 7741eac

Please sign in to comment.