@@ -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 | * |
@@ -44,7 +44,7 @@ discard block |
||
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 |
||
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 |
||
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", [ |
@@ -1,4 +1,4 @@ discard block |
||
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 |
||
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 | } |