| @@ -73,7 +73,7 @@ | ||
| 73 | 73 |      { | 
| 74 | 74 | return [ | 
| 75 | 75 | 'class' => Transport::class, | 
| 76 | - 'constructArgs' => [$this->token] | |
| 76 | + 'constructArgs' => [ $this->token ] | |
| 77 | 77 | ]; | 
| 78 | 78 | } | 
| 79 | 79 | |
| @@ -30,8 +30,8 @@ | ||
| 30 | 30 | Event::on( | 
| 31 | 31 | MailerHelper::class, | 
| 32 | 32 | MailerHelper::EVENT_REGISTER_MAILER_TRANSPORT_TYPES, | 
| 33 | -            function (RegisterComponentTypesEvent $event) { | |
| 34 | - $event->types[] = Adapter::class; | |
| 33 | +            function(RegisterComponentTypesEvent $event) { | |
| 34 | + $event->types[ ] = Adapter::class; | |
| 35 | 35 | } | 
| 36 | 36 | ); | 
| 37 | 37 | |
| @@ -52,9 +52,9 @@ discard block | ||
| 52 | 52 |      { | 
| 53 | 53 | |
| 54 | 54 | return ( | 
| 55 | - count((array)$message->getTo()) | |
| 56 | - + count((array)$message->getCc()) | |
| 57 | - + count((array)$message->getBcc()) | |
| 55 | + count((array) $message->getTo()) | |
| 56 | + + count((array) $message->getCc()) | |
| 57 | + + count((array) $message->getBcc()) | |
| 58 | 58 | ); | 
| 59 | 59 | |
| 60 | 60 | } | 
| @@ -71,7 +71,7 @@ discard block | ||
| 71 | 71 | ); | 
| 72 | 72 | |
| 73 | 73 |          if (is_array($error)) { | 
| 74 | - $error['StatusCode'] = $response->getStatusCode(); | |
| 74 | + $error[ 'StatusCode' ] = $response->getStatusCode(); | |
| 75 | 75 | } | 
| 76 | 76 | |
| 77 | 77 | return $error; |