@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Ion |
|
4 | - * |
|
5 | - * Building blocks for web development |
|
6 | - * |
|
7 | - * @package Ion |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Ion |
|
4 | + * |
|
5 | + * Building blocks for web development |
|
6 | + * |
|
7 | + * @package Ion |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace Aviat\Ion\Di\Exception; |
14 | 14 |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @param [array] $args - the arguments to pass to the retrieval method |
27 | 27 | * @return mixed - the cached or fresh data |
28 | 28 | */ |
29 | - public function get($object, $method, array $args=[]); |
|
29 | + public function get($object, $method, array $args = []); |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Retreive a fresh value, and update the cache |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * @param [array] $args - the arguments to pass to the retrieval method |
37 | 37 | * @return mixed - the fresh data |
38 | 38 | */ |
39 | - public function getFresh($object, $method, array $args=[]); |
|
39 | + public function getFresh($object, $method, array $args = []); |
|
40 | 40 | |
41 | 41 | /** |
42 | 42 | * Clear the entire cache |
@@ -273,7 +273,7 @@ |
||
273 | 273 | |
274 | 274 | $params = []; |
275 | 275 | |
276 | - switch($failure->failedRule) { |
|
276 | + switch ($failure->failedRule) { |
|
277 | 277 | case 'Aura\Router\Rule\Alows': |
278 | 278 | $params = [ |
279 | 279 | 'http_code' => 405, |
@@ -273,7 +273,8 @@ |
||
273 | 273 | |
274 | 274 | $params = []; |
275 | 275 | |
276 | - switch($failure->failedRule) { |
|
276 | + switch($failure->failedRule) |
|
277 | + { |
|
277 | 278 | case 'Aura\Router\Rule\Alows': |
278 | 279 | $params = [ |
279 | 280 | 'http_code' => 405, |
@@ -124,7 +124,7 @@ discard block |
||
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 |
||
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(); |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | ]; |
90 | 90 | |
91 | 91 | $data = ($status !== 'all') |
92 | - ? [$map[$status] => $this->cache->get($this->model, 'get_list', ['status' => $map[$status]]) ] |
|
92 | + ? [$map[$status] => $this->cache->get($this->model, 'get_list', ['status' => $map[$status]])] |
|
93 | 93 | : $this->cache->get($this->model, 'get_all_lists'); |
94 | 94 | |
95 | 95 | $this->outputHTML('manga/' . $view_map[$view], [ |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | |
207 | 207 | if ($full_result['statusCode'] == 200) |
208 | 208 | { |
209 | - $m =& $result['manga'][0]; |
|
209 | + $m = & $result['manga'][0]; |
|
210 | 210 | $title = ( ! empty($m['english_title'])) |
211 | 211 | ? "{$m['romaji_title']} ({$m['english_title']})" |
212 | 212 | : "{$m['romaji_title']}"; |
@@ -1,15 +1,15 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Hummingbird Anime Client |
|
4 | - * |
|
5 | - * An API client for Hummingbird to manage anime and manga watch lists |
|
6 | - * |
|
7 | - * @package HummingbirdAnimeClient |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @link https://github.com/timw4mail/HummingBirdAnimeClient |
|
11 | - * @license MIT |
|
12 | - */ |
|
3 | + * Hummingbird Anime Client |
|
4 | + * |
|
5 | + * An API client for Hummingbird to manage anime and manga watch lists |
|
6 | + * |
|
7 | + * @package HummingbirdAnimeClient |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @link https://github.com/timw4mail/HummingBirdAnimeClient |
|
11 | + * @license MIT |
|
12 | + */ |
|
13 | 13 | |
14 | 14 | namespace Aviat\AnimeClient\Auth; |
15 | 15 |