From d63d33d2450021200a861c05e4357c68834059c0 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Wed, 4 Nov 2015 21:31:03 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- src/Aviat/AnimeClient/Controller.php | 2 +- src/Aviat/AnimeClient/UrlGenerator.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Aviat/AnimeClient/Controller.php b/src/Aviat/AnimeClient/Controller.php index 549344e8..a40ae879 100644 --- a/src/Aviat/AnimeClient/Controller.php +++ b/src/Aviat/AnimeClient/Controller.php @@ -80,7 +80,7 @@ class Controller { */ public function redirect_to_default() { - $default_type = $this->config->get(['routing','default_list']); + $default_type = $this->config->get(['routing', 'default_list']); $this->redirect($this->urlGenerator->default_url($default_type), 303); } diff --git a/src/Aviat/AnimeClient/UrlGenerator.php b/src/Aviat/AnimeClient/UrlGenerator.php index 2356abfe..73a401a4 100644 --- a/src/Aviat/AnimeClient/UrlGenerator.php +++ b/src/Aviat/AnimeClient/UrlGenerator.php @@ -76,7 +76,7 @@ class UrlGenerator extends RoutingBase { $path_segments = explode('/', $path); $segments = $this->segments(); - for($i=0; $i