Completed
Branch master (1afb45)
by Timothy
04:13
created
src/Aviat/AnimeClient/Controller/Anime.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
 		foreach ($raw_status_list as $status_item)
126 126
 		{
127
-			$statuses[$status_item] = (string) $this->string($status_item)
127
+			$statuses[$status_item] = (string)$this->string($status_item)
128 128
 				->underscored()
129 129
 				->humanize()
130 130
 				->titleize();
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
 		foreach ($raw_status_list as $status_item)
185 185
 		{
186
-			$statuses[$status_item] = (string) $this->string($status_item)
186
+			$statuses[$status_item] = (string)$this->string($status_item)
187 187
 				->underscored()
188 188
 				->humanize()
189 189
 				->titleize();
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Command/CacheImages.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
 		$total = count($raw_list);
37 37
 		$current = 0;
38
-		foreach($manga_list as $item)
38
+		foreach ($manga_list as $item)
39 39
 		{
40 40
 			$this->model->get_cached_image($item['poster_image'], $item['id'], 'manga');
41 41
 			$current++;
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
 		$total = count($raw_list);
57 57
 		$current = 0;
58
-		foreach($raw_list as $item)
58
+		foreach ($raw_list as $item)
59 59
 		{
60 60
 			$this->model->get_cached_image($item['anime']['cover_image'], $item['anime']['slug'], 'anime');
61 61
 			$current++;
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Command/BaseCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 		$config = AnimeClient::load_toml($CONF_DIR);
58 58
 		$config_array = array_merge($base_config, $config);
59 59
 
60
-		$di = function ($config_array) {
60
+		$di = function($config_array) {
61 61
 			$container = new Container();
62 62
 
63 63
 			// Create Config Object
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller/Manga.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 		];
83 83
 
84 84
 		$data = ($status !== 'all')
85
-			? [$map[$status] => $this->model->get_list($map[$status]) ]
85
+			? [$map[$status] => $this->model->get_list($map[$status])]
86 86
 			: $this->model->get_list('All');
87 87
 
88 88
 		$this->outputHTML('manga/' . $view_map[$view], [
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 
200 200
 		if ($full_result['statusCode'] == 200)
201 201
 		{
202
-			$m =& $result['manga'][0];
202
+			$m = & $result['manga'][0];
203 203
 			$title = ( ! empty($m['english_title']))
204 204
 				? "{$m['romaji_title']} ({$m['english_title']})"
205 205
 				: "{$m['romaji_title']}";
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Model/Manga.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
 			$output[$key][] = $entry;
264 264
 		}
265 265
 
266
-		foreach($output as &$val)
266
+		foreach ($output as &$val)
267 267
 		{
268 268
 			$this->sort_by_name($val, 'manga');
269 269
 		}
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 		$this->setContainer($container);
90 90
 		$auraUrlGenerator = $container->get('aura-router')->getGenerator();
91 91
 		$urlGenerator = $container->get('url-generator');
92
-		$this->cache =  $container->get('cache');
92
+		$this->cache = $container->get('cache');
93 93
 		$this->config = $container->get('config');
94 94
 		$this->request = $container->get('request');
95 95
 		$this->response = $container->get('response');
Please login to merge, or discard this patch.