Some more minor code-style fixes

This commit is contained in:
Timothy Warren 2015-12-09 14:54:11 -05:00
parent 6ca086d85b
commit 30b6afb601
3 changed files with 16 additions and 16 deletions

View File

@ -126,12 +126,12 @@ class Collection extends BaseController {
$data = $this->request->post->get(); $data = $this->request->post->get();
if ( ! array_key_exists('hummingbird_id', $data)) if ( ! array_key_exists('hummingbird_id', $data))
{ {
$this->redirect("collection/view", 303, "anime"); $this->redirect("collection/view", 303);
} }
$this->anime_collection_model->update($data); $this->anime_collection_model->update($data);
$this->redirect("collection/view", 303, "anime"); $this->redirect("collection/view", 303);
} }
/** /**
@ -144,12 +144,12 @@ class Collection extends BaseController {
$data = $this->request->post->get(); $data = $this->request->post->get();
if ( ! array_key_exists('id', $data)) if ( ! array_key_exists('id', $data))
{ {
$this->redirect("collection/view", 303, "anime"); $this->redirect("collection/view", 303);
} }
$this->anime_collection_model->add($data); $this->anime_collection_model->add($data);
$this->redirect("collection/view", 303, "anime"); $this->redirect("collection/view", 303);
} }
} }
// End of CollectionController.php // End of CollectionController.php

View File

@ -22,14 +22,14 @@ class Container implements ContainerInterface {
/** /**
* Array with class instances * Array with class instances
* *
* @var ArrayObject * @var array
*/ */
protected $container = []; protected $container = [];
/** /**
* Map of logger instances * Map of logger instances
* *
* @var ArrayObject * @var array
*/ */
protected $loggers = []; protected $loggers = [];