@@ -35,7 +35,7 @@ discard block |
||
| 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 |
||
| 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++; |
@@ -57,7 +57,7 @@ |
||
| 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 |
@@ -82,7 +82,7 @@ discard block |
||
| 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 |
||
| 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']}"; |
@@ -263,7 +263,7 @@ |
||
| 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 | } |
@@ -89,7 +89,7 @@ |
||
| 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'); |