Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
3 changed files with 4 additions and 4 deletions
Showing only changes of commit dd0e15137a - Show all commits

View File

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

View File

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