@@ -187,7 +187,7 @@ |
||
| 187 | 187 | |
| 188 | 188 | private function createCredentialsResolver($key, $secret) |
| 189 | 189 | { |
| 190 | - return function () use ($key, $secret) { |
|
| 190 | + return function() use ($key, $secret) { |
|
| 191 | 191 | $promise = new Promise(); |
| 192 | 192 | $promise->resolve(new Credentials($key, $secret)); |
| 193 | 193 | return $promise; |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | ->addBcc('[email protected]') |
| 32 | 32 | ->text('This is a test email'); |
| 33 | 33 | |
| 34 | - $mockHandler = function (CommandInterface $cmd) use ($email) { |
|
| 34 | + $mockHandler = function(CommandInterface $cmd) use ($email) { |
|
| 35 | 35 | $data = $cmd->toArray(); |
| 36 | 36 | $this->assertEquals($email->getFrom(), [new Address($data['FromEmailAddress'])]); |
| 37 | 37 | $this->assertArrayHasKey('Destination', $data); |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | ->addTo('[email protected]') |
| 67 | 67 | ->text('Test'); |
| 68 | 68 | |
| 69 | - $mockHandler = function (CommandInterface $cmd) { |
|
| 69 | + $mockHandler = function(CommandInterface $cmd) { |
|
| 70 | 70 | throw new \Aws\Ses\Exception\SesException('ERRR', $cmd); |
| 71 | 71 | }; |
| 72 | 72 | |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | ]; |
| 109 | 109 | |
| 110 | 110 | yield [ |
| 111 | - new SesSdkTransport(function () { |
|
| 111 | + new SesSdkTransport(function() { |
|
| 112 | 112 | return new \GuzzleHttp\Promise\RejectedPromise('bad things happened'); |
| 113 | 113 | }, 'eu-west-1'), |
| 114 | 114 | 'ses+sdk://:@eu-west-1' |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | |
| 118 | 118 | private function createCredentialsResolver($key, $secret) |
| 119 | 119 | { |
| 120 | - return function () use ($key, $secret) { |
|
| 120 | + return function() use ($key, $secret) { |
|
| 121 | 121 | $promise = new Promise(); |
| 122 | 122 | $promise->resolve(new Credentials($key, $secret)); |
| 123 | 123 | return $promise; |