From: Stricted Date: Sun, 17 Jul 2016 08:44:35 +0000 (+0200) Subject: fix travis build... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=479ddd4d65fb13b19052991f1aac06baf26c435d;p=GitHub%2FStricted%2FDomain-Control-Panel.git fix travis build... --- diff --git a/lib/system/RequestHandler.class.php b/lib/system/RequestHandler.class.php index 3e1d3d1..19aa489 100644 --- a/lib/system/RequestHandler.class.php +++ b/lib/system/RequestHandler.class.php @@ -71,8 +71,8 @@ class RequestHandler extends SingletonFactory { /** * @see \Zend\Mvc\Router\SimpleRouteStack::addRoute() * - * @param string $name - * @param mixed $route + * @param string $name + * @param mixed $route */ public function addRoute ($name, $route) { $this->router->addRoute($name, $route); @@ -81,17 +81,17 @@ class RequestHandler extends SingletonFactory { /** * @see \Zend\Mvc\Router\SimpleRouteStack::addRoutes() * - * @param array|Traversable $routes + * @param array|Traversable $routes */ public function addRoutes ($routes) { $this->router->addRoutes($routes); } - /** - * Get the added routes - * - * @return Traversable list of all routes - */ + /** + * Get the added routes + * + * @return Traversable list of all routes + */ public function getRoutes() { return $this->router->getRoutes(); } diff --git a/lib/system/route/Segment.class.php b/lib/system/route/Segment.class.php index 8948b65..29aef3a 100644 --- a/lib/system/route/Segment.class.php +++ b/lib/system/route/Segment.class.php @@ -1,7 +1,8 @@ translationKeys) { if (!isset($options['translator']) || !$options['translator'] instanceof Translator) { - throw new Exception\RuntimeException('No translator provided'); + throw new RuntimeException('No translator provided'); } $translator = $options['translator'];