Merge pull request #12 from timw4mail/scrutinizer-patch-2

Scrutinizer Auto-Fixes
This commit is contained in:
Timothy Warren 2016-01-05 10:02:18 -05:00
commit b0f5bdf668
3 changed files with 4 additions and 4 deletions

View File

@ -94,11 +94,11 @@ class MangaListTransformer extends AbstractTransformer {
{
$private = (array_key_exists('private', $item))
? (bool)$item['private']
: false;
: FALSE;
$rereading = (array_key_exists('rereading', $item))
? (bool)$item['rereading']
: false;
: FALSE;
$map = [
'id' => $item['id'],

View File

@ -139,7 +139,7 @@ class API extends BaseModel {
*
* @codeCoverageIgnore
* @param array $array
* @param string $key
* @param string $sort_key
* @return void
*/
protected function sort_by_name(&$array, $sort_key)