@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | { |
35 | 35 | $genres = []; |
36 | 36 | |
37 | - foreach($item['included'] as $included) |
|
37 | + foreach ($item['included'] as $included) |
|
38 | 38 | { |
39 | 39 | if ($included['type'] === 'genres') |
40 | 40 | { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | public function transform($item) |
37 | 37 | { |
38 | 38 | /*?><pre><?= print_r($item, TRUE) ?></pre><?php*/ |
39 | - $manga =& $item['manga']; |
|
39 | + $manga = & $item['manga']; |
|
40 | 40 | |
41 | 41 | $rating = (is_numeric($item['attributes']['rating'])) |
42 | 42 | ? intval(2 * $item['attributes']['rating']) |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | ] |
70 | 70 | ]); |
71 | 71 | |
72 | - return $list;//['anime']; |
|
72 | + return $list; //['anime']; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | public function getListItem(string $listId): array |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | 'data' => [ |
42 | 42 | 'status' => self::statusMap[$item['watching_status']], |
43 | 43 | 'rating' => $item['user_rating'], |
44 | - 'rewatch_value' => (int) $rewatching, |
|
44 | + 'rewatch_value' => (int)$rewatching, |
|
45 | 45 | 'times_rewatched' => $item['rewatched'], |
46 | 46 | 'comments' => $item['notes'], |
47 | 47 | 'episode' => $item['episodes_watched'] |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * Anime List Client |
4 | 4 | * |