Minor spacing fixes

This commit is contained in:
Timothy Warren 2016-02-02 21:38:38 -05:00
parent 6555aac2fb
commit f3a44e6f33
4 changed files with 5 additions and 6 deletions

View File

@ -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()

View File

@ -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,

View File

@ -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)
{

View File

@ -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();