Minor spacing fixes
This commit is contained in:
parent
6555aac2fb
commit
f3a44e6f33
@ -140,7 +140,7 @@ class Manga extends Controller {
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->set_flash_message('Failed to add new manga to list' . $result['body'] , 'error');
|
||||
$this->set_flash_message('Failed to add new manga to list' . $result['body'], 'error');
|
||||
}
|
||||
|
||||
$this->session_redirect();
|
||||
@ -171,7 +171,6 @@ class Manga extends Controller {
|
||||
/**
|
||||
* Search for a manga to add to the list
|
||||
*
|
||||
* @param string $query
|
||||
* @return void
|
||||
*/
|
||||
public function search()
|
||||
|
@ -104,7 +104,7 @@ class Dispatcher extends RoutingBase {
|
||||
$logger->debug(print_r($route, TRUE));
|
||||
}
|
||||
|
||||
if($route)
|
||||
if ($route)
|
||||
{
|
||||
$parsed = $this->process_route($route);
|
||||
$controller_name = $parsed['controller_name'];
|
||||
@ -272,7 +272,7 @@ class Dispatcher extends RoutingBase {
|
||||
'message' => 'Invalid HTTP Verb'
|
||||
];
|
||||
}
|
||||
else if($failure->failedAccept())
|
||||
else if ($failure->failedAccept())
|
||||
{
|
||||
$params = [
|
||||
'http_code' => 406,
|
||||
|
@ -78,7 +78,7 @@ class Anime extends API {
|
||||
* Remove an anime from a list
|
||||
*
|
||||
* @param array $data
|
||||
* @return array
|
||||
* @return array|false
|
||||
*/
|
||||
public function delete($data)
|
||||
{
|
||||
|
@ -50,7 +50,7 @@ class Manga extends API {
|
||||
*/
|
||||
protected $base_url = "https://hummingbird.me/";
|
||||
|
||||
protected function _manga_api_call($type, $url, $json=null)
|
||||
protected function _manga_api_call($type, $url, $json = NULL)
|
||||
{
|
||||
$token = $this->container->get('auth')
|
||||
->get_auth_token();
|
||||
|
Loading…
Reference in New Issue
Block a user