Fix documentation issues
This commit is contained in:
parent
bc6aed51c8
commit
34acf00b5e
@ -91,7 +91,7 @@ class Collection extends BaseController {
|
||||
/**
|
||||
* Show the anime collection add/edit form
|
||||
*
|
||||
* @param int $id
|
||||
* @param integer|null $id
|
||||
* @return void
|
||||
*/
|
||||
public function form($id = NULL)
|
||||
|
@ -106,7 +106,7 @@ class Dispatcher extends RoutingBase {
|
||||
* Handle the current route
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @param object $route
|
||||
* @param object|null $route
|
||||
* @return void
|
||||
*/
|
||||
public function __invoke($route = NULL)
|
||||
|
@ -169,7 +169,8 @@ class AnimeCollection extends DB {
|
||||
{
|
||||
if ( ! $this->valid_database) return [];
|
||||
|
||||
$query = $this->db->select('hummingbird_id, slug, title, alternate_title, show_type, age_rating, episode_count, episode_length, cover_image, notes, media.type as media')
|
||||
$query = $this->db->select('hummingbird_id, slug, title, alternate_title, show_type,
|
||||
age_rating, episode_count, episode_length, cover_image, notes, media.type as media')
|
||||
->from('anime_set a')
|
||||
->join('media', 'media.id=a.media_id', 'inner')
|
||||
->order_by('media')
|
||||
@ -196,7 +197,9 @@ class AnimeCollection extends DB {
|
||||
'alternate_title' => $anime->alternate_title,
|
||||
'show_type' => $anime->show_type,
|
||||
'age_rating' => $anime->age_rating,
|
||||
'cover_image' => basename($this->get_cached_image($anime->cover_image, $anime->slug, 'anime')),
|
||||
'cover_image' => basename(
|
||||
$this->get_cached_image($anime->cover_image, $anime->slug, 'anime')
|
||||
),
|
||||
'episode_count' => $anime->episode_count,
|
||||
'episode_length' => $anime->episode_length,
|
||||
'media_id' => $data['media_id'],
|
||||
@ -261,7 +264,9 @@ class AnimeCollection extends DB {
|
||||
'alternate_title' => $item->alternate_title,
|
||||
'show_type' => $item->show_type,
|
||||
'age_rating' => $item->age_rating,
|
||||
'cover_image' => basename($this->get_cached_image($item->cover_image, $item->slug, 'anime')),
|
||||
'cover_image' => basename(
|
||||
$this->get_cached_image($item->cover_image, $item->slug, 'anime')
|
||||
),
|
||||
'episode_count' => $item->episode_count,
|
||||
'episode_length' => $item->episode_length
|
||||
])->insert('anime_set');
|
||||
|
@ -16,7 +16,7 @@ class RoutingBase {
|
||||
|
||||
/**
|
||||
* Injection Container
|
||||
* @var Container $container
|
||||
* @var ContainerInterface $container
|
||||
*/
|
||||
protected $container;
|
||||
|
||||
|
@ -12,7 +12,7 @@ class Container implements ContainerInterface {
|
||||
/**
|
||||
* Array with class instances
|
||||
*
|
||||
* @var array
|
||||
* @var ArrayObject
|
||||
*/
|
||||
protected $container = [];
|
||||
|
||||
|
@ -136,7 +136,7 @@ class ArrayType {
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param bool $strict
|
||||
* @return string
|
||||
* @return false|integer|string
|
||||
*/
|
||||
public function search($value, $strict=FALSE)
|
||||
{
|
||||
|
@ -3,6 +3,7 @@
|
||||
namespace Aviat\Ion;
|
||||
|
||||
use Aviat\Ion\Di\ContainerInterface;
|
||||
use Aviat\Ion\Type\StringType;
|
||||
|
||||
/**
|
||||
* Base view response class
|
||||
@ -29,7 +30,7 @@ abstract class View {
|
||||
/**
|
||||
* String of response to be output
|
||||
*
|
||||
* @var S
|
||||
* @var StringType
|
||||
*/
|
||||
protected $output;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user