Completed
Branch develop (9c1dc5)
by Timothy
07:15
created
src/API/MAL/ListItem.php 1 patch
Spacing   +4 added lines, -4 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
  *
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
 		return $this->requestBuilder->newRequest('POST', "animelist/add/{$id}.xml")
46 46
 			->setFormFields($createData)
47
-			->setBasicAuth($config->get(['mal','username']), $config->get(['mal', 'password']))
47
+			->setBasicAuth($config->get(['mal', 'username']), $config->get(['mal', 'password']))
48 48
 			->getFullRequest();
49 49
 
50 50
 		/* $response = $this->getResponse('POST', "animelist/add/{$id}.xml", [
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 			->setFormFields([
63 63
 				'id' => $id
64 64
 			])
65
-			->setBasicAuth($config->get(['mal','username']), $config->get(['mal', 'password']))
65
+			->setBasicAuth($config->get(['mal', 'username']), $config->get(['mal', 'password']))
66 66
 			->getFullRequest();
67 67
 
68 68
 		/*$response = $this->getResponse('DELETE', "animelist/delete/{$id}.xml", [
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 				'id' => $id,
92 92
 				'data' => $xml
93 93
 			])
94
-			->setBasicAuth($config->get(['mal','username']), $config->get(['mal', 'password']))
94
+			->setBasicAuth($config->get(['mal', 'username']), $config->get(['mal', 'password']))
95 95
 			->getFullRequest();
96 96
 
97 97
 		/* return $this->getResponse('POST', "animelist/update/{$id}.xml", [
Please login to merge, or discard this patch.
src/AnimeClient.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
  * Hummingbird Anime Client
4 4
  *
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
 		if ($key === 'config')
49 49
 		{
50
-			foreach($config as $name => $value)
50
+			foreach ($config as $name => $value)
51 51
 			{
52 52
 				$output[$name] = $value;
53 53
 			}
Please login to merge, or discard this patch.