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

Commit 9bab442

Browse files
committed
CS fixes per php-cs-fixer
1 parent 35a9d05 commit 9bab442

File tree

5 files changed

+3
-6
lines changed

5 files changed

+3
-6
lines changed

src/Router/Http/TreeRouteStack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static function factory($options = [])
6161
if ($options instanceof Traversable) {
6262
$options = ArrayUtils::iteratorToArray($options);
6363
}
64-
64+
6565
if (! is_array($options)) {
6666
throw new Exception\InvalidArgumentException(__METHOD__ . ' expects an array or Traversable set of options');
6767
}

src/Router/SimpleRouteStack.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ protected function routeFromArray($specs)
263263
if ($specs instanceof Traversable) {
264264
$specs = ArrayUtils::iteratorToArray($specs);
265265
}
266-
266+
267267
if (! is_array($specs)) {
268268
throw new Exception\InvalidArgumentException('Route definition must be an array or Traversable object');
269269
}
270270

271271
if (! isset($specs['type'])) {
272272
throw new Exception\InvalidArgumentException('Missing "type" option');
273273
}
274-
274+
275275
if (! isset($specs['options'])) {
276276
$specs['options'] = [];
277277
}

src/Service/ServiceManagerConfig.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Zend\ModuleManager\Listener\ServiceListener;
1919
use Zend\ModuleManager\ModuleManager;
2020
use Zend\ServiceManager\Config;
21-
use Zend\ServiceManager\Factory\InvokableFactory;
2221
use Zend\ServiceManager\ServiceLocatorAwareInterface;
2322
use Zend\ServiceManager\ServiceManager;
2423
use Zend\ServiceManager\ServiceManagerAwareInterface;

src/Service/ViewHelperManagerFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Zend\Mvc\Router\RouteMatch;
1515
use Zend\ServiceManager\ConfigInterface;
1616
use Zend\ServiceManager\Exception\ServiceNotCreatedException;
17-
use Zend\Stdlib\ArrayUtils;
1817
use Zend\View\Helper as ViewHelper;
1918
use Zend\View\HelperPluginManager;
2019

test/View/Console/ViewManagerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
use Zend\Mvc\Service\ServiceManagerConfig;
2424
use Zend\Mvc\View\Console\ViewManager;
2525
use Zend\ServiceManager\ServiceManager;
26-
use Zend\Stdlib\ArrayUtils;
2726

2827
/**
2928
* Tests for {@see \Zend\Mvc\View\Console\ViewManager}

0 commit comments

Comments
 (0)