Passed
Branch master (87f2e7)
by Dominic
07:16
created
Category
src/Providers/RevolutMerchantServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 	 */
16 16
 	public function register()
17 17
 	{
18
-		$this->app->singleton('merchant', function () {
18
+		$this->app->singleton('merchant', function() {
19 19
 			return new Client(config('revolut-merchant.api_key'));
20 20
 		});
21 21
 	}
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			__DIR__ . '/../config/revolut-merchant.php' => config_path('revolut-merchant.php')
32 32
 		]);
33 33
 
34
-		Blade::directive('revolutMerchantScript', function () {
34
+		Blade::directive('revolutMerchantScript', function() {
35 35
 
36 36
 			$src = config('revolut-merchant.sandbox', true)
37 37
 				? 'https://sandbox-merchant.revolut.com/embed.js'
Please login to merge, or discard this patch.
src/Resources/Order.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 	 */
21 21
 	public function create(array $json)
22 22
 	{
23
-		return $this->client->post(self::ENDPOINT, ['json' => $json]);
23
+		return $this->client->post(self::ENDPOINT, [ 'json' => $json ]);
24 24
 	}
25 25
 
26 26
 	/**
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	 * @return array The response body
90 90
 	 * @throws \tbclla\RevolutMerchant\Exceptions\MerchantException
91 91
 	 */
92
-	public function post(string $endpoint, array $options = [])
92
+	public function post(string $endpoint, array $options = [ ])
93 93
 	{
94 94
 		return $this->request('POST', $endpoint, $options);
95 95
 	}
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 	 * @return array The response body
103 103
 	 * @throws \tbclla\RevolutMerchant\Exceptions\MerchantException
104 104
 	 */
105
-	public function get(string $endpoint, array $options = [])
105
+	public function get(string $endpoint, array $options = [ ])
106 106
 	{
107 107
 		return $this->request('GET', $endpoint, $options);
108 108
 	}
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 	 * @param array $options
158 158
 	 * @return array
159 159
 	 */
160
-	private function buildOptions(array $options = [])
160
+	private function buildOptions(array $options = [ ])
161 161
 	{
162 162
 		return array_merge($options, [
163 163
 			'headers' => [
Please login to merge, or discard this patch.