fix psr2 violations in EmailPlugin
This commit is contained in:
parent
112adba332
commit
6431ef501e
1 changed files with 10 additions and 10 deletions
|
|
@ -41,13 +41,13 @@ class Email implements \PHPCI\Plugin
|
|||
*/
|
||||
protected $fromAddress;
|
||||
|
||||
public function __construct(Builder $phpci,
|
||||
Build $build,
|
||||
\Swift_Mailer $mailer,
|
||||
array $options = array()
|
||||
public function __construct(
|
||||
Builder $phpci,
|
||||
Build $build,
|
||||
\Swift_Mailer $mailer,
|
||||
array $options = array()
|
||||
|
||||
)
|
||||
{
|
||||
) {
|
||||
$this->phpci = $phpci;
|
||||
$this->build = $build;
|
||||
$this->options = $options;
|
||||
|
|
@ -168,14 +168,14 @@ class Email implements \PHPCI\Plugin
|
|||
|
||||
protected function getCcAddresses()
|
||||
{
|
||||
$cc = array();
|
||||
$ccAddresses = array();
|
||||
|
||||
if (isset($this->options['cc'])) {
|
||||
foreach ($this->options['cc'] as $address) {
|
||||
$cc[] = $address;
|
||||
$ccAddresses[] = $address;
|
||||
}
|
||||
}
|
||||
|
||||
return $cc;
|
||||
return $ccAddresses;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue