Completed
Branch develop (6d735e)
by Timothy
07:48
created
src/API/Kitsu/Transformer/MangaTransformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 			{
Please login to merge, or discard this patch.
src/API/Kitsu/Transformer/AnimeTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/API/Kitsu/Transformer/MangaListTransformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'])
Please login to merge, or discard this patch.
src/API/MAL/Model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/API/MAL/ListItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/API/MAL/Enum/MangaReadingStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/API/MAL/Enum/AnimeWatchingStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/API/MAL/Transformer/AnimeListTransformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
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
 block discarded – undo
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']
Please login to merge, or discard this patch.
src/API/MAL/Transformer/MALToKitsuTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.