Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
parent
205c7ac76d
commit
dd0e15137a
@ -94,11 +94,11 @@ class MangaListTransformer extends AbstractTransformer {
|
|||||||
{
|
{
|
||||||
$private = (array_key_exists('private', $item))
|
$private = (array_key_exists('private', $item))
|
||||||
? (bool)$item['private']
|
? (bool)$item['private']
|
||||||
: false;
|
: FALSE;
|
||||||
|
|
||||||
$rereading = (array_key_exists('rereading', $item))
|
$rereading = (array_key_exists('rereading', $item))
|
||||||
? (bool)$item['rereading']
|
? (bool)$item['rereading']
|
||||||
: false;
|
: FALSE;
|
||||||
|
|
||||||
$map = [
|
$map = [
|
||||||
'id' => $item['id'],
|
'id' => $item['id'],
|
||||||
|
@ -139,7 +139,7 @@ class API extends BaseModel {
|
|||||||
*
|
*
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
* @param array $array
|
* @param array $array
|
||||||
* @param string $key
|
* @param string $sort_key
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function sort_by_name(&$array, $sort_key)
|
protected function sort_by_name(&$array, $sort_key)
|
||||||
|
@ -39,7 +39,7 @@ class DB extends BaseModel {
|
|||||||
public function __construct(ContainerInterface $container)
|
public function __construct(ContainerInterface $container)
|
||||||
{
|
{
|
||||||
parent::__construct($container);
|
parent::__construct($container);
|
||||||
$this->db_config = (array) $this->config->get('database');
|
$this->db_config = (array)$this->config->get('database');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// End of BaseDBModel.php
|
// End of BaseDBModel.php
|
Loading…
Reference in New Issue
Block a user