@@ -171,7 +171,6 @@ |
||
| 171 | 171 | /** |
| 172 | 172 | * Search for a manga to add to the list |
| 173 | 173 | * |
| 174 | - * @param string $query |
|
| 175 | 174 | * @return void |
| 176 | 175 | */ |
| 177 | 176 | public function search() |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | else |
| 142 | 142 | { |
| 143 | - $this->set_flash_message('Failed to add new manga to list' . $result['body'] , 'error'); |
|
| 143 | + $this->set_flash_message('Failed to add new manga to list' . $result['body'], 'error'); |
|
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | $this->session_redirect(); |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | |
| 200 | 200 | if (array_key_exists('manga', $result)) |
| 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']}"; |
@@ -50,6 +50,9 @@ |
||
| 50 | 50 | */ |
| 51 | 51 | protected $base_url = "https://hummingbird.me/"; |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param string $type |
|
| 55 | + */ |
|
| 53 | 56 | protected function _auth_json_call($type, $url, $json) |
| 54 | 57 | { |
| 55 | 58 | $token = $this->container->get('auth') |