aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:04:44 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:04:44 +0100
commit18decbda5dcf59d7b1329c31c4df01b741635093 (patch)
tree5a3fd757b79b76b96896a0b876ea30f5d2cfc740
parent8b0ff92d38f746f880abdfc1a68b1381fcbeaa2d (diff)
downloadMail-18decbda5dcf59d7b1329c31c4df01b741635093.zip
Mail-18decbda5dcf59d7b1329c31c4df01b741635093.tar.gz
Mail-18decbda5dcf59d7b1329c31c4df01b741635093.tar.bz2
Quality: Run devtools:cs.
-rw-r--r--Content/Alternative.php6
-rw-r--r--Content/Attachment.php4
-rw-r--r--Content/Content.php8
-rw-r--r--Content/Encoder/Base64.php4
-rw-r--r--Content/Encoder/Encoder.php4
-rw-r--r--Content/Encoder/QuotedPrintable.php4
-rw-r--r--Content/Html.php4
-rw-r--r--Content/Message.php6
-rw-r--r--Content/Related.php6
-rw-r--r--Content/Text.php4
-rw-r--r--Exception/Exception.php4
-rw-r--r--Exception/Security.php4
-rw-r--r--Exception/Transport.php4
-rw-r--r--Inbox/Message.php4
-rw-r--r--Message.php4
-rw-r--r--Test/Unit/Content/Alternative.php4
-rw-r--r--Test/Unit/Content/Attachment.php4
-rw-r--r--Test/Unit/Content/Content.php4
-rw-r--r--Test/Unit/Content/Encoder/Base64.php4
-rw-r--r--Test/Unit/Content/Encoder/QuotedPrintable.php4
-rw-r--r--Test/Unit/Content/Html.php4
-rw-r--r--Test/Unit/Content/Message.php4
-rw-r--r--Test/Unit/Content/Related.php4
-rw-r--r--Test/Unit/Content/Text.php4
-rw-r--r--Transport/ITransport/Out.php4
-rw-r--r--Transport/ITransport/Transport.php4
-rw-r--r--Transport/Sendmail.php8
-rw-r--r--Transport/Smtp.php4
28 files changed, 63 insertions, 63 deletions
diff --git a/Content/Alternative.php b/Content/Alternative.php
index 94602be..ea3f720 100644
--- a/Content/Alternative.php
+++ b/Content/Alternative.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Mail\Content;
*
* Represent an alternative content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Alternative extends Message
@@ -61,7 +61,7 @@ class Alternative extends Message
* @param array $contents Alternative contents.
* @return void
*/
- public function __construct(Array $contents = [])
+ public function __construct(array $contents = [])
{
foreach ($contents as $content) {
$this->addContent($content);
diff --git a/Content/Attachment.php b/Content/Attachment.php
index c1e2f7d..b019a74 100644
--- a/Content/Attachment.php
+++ b/Content/Attachment.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Stream;
*
* This class represents an attachment.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Attachment extends Content
diff --git a/Content/Content.php b/Content/Content.php
index 072d518..65cc945 100644
--- a/Content/Content.php
+++ b/Content/Content.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Mail;
*
* Abstract message content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Content implements \ArrayAccess
@@ -215,14 +215,14 @@ abstract class Content implements \ArrayAccess
* @param array $headers Headers.
* @return string
*/
- public static function formatHeaders(Array $headers)
+ public static function formatHeaders(array $headers)
{
$out = null;
foreach ($headers as $header => $value) {
$value = preg_replace_callback(
'#(?<value>[^<]+)(?<tail><[^>]+>)#',
- function (Array $matches) {
+ function (array $matches) {
return
Encoder\QuotedPrintable::encode($matches['value'], true) .
$matches['tail'];
diff --git a/Content/Encoder/Base64.php b/Content/Encoder/Base64.php
index 34747b9..1f4f4ef 100644
--- a/Content/Encoder/Base64.php
+++ b/Content/Encoder/Base64.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Mail;
* Encode and decode a string as described in the RFC4648, RFC2045
* Section 6.8 and RFC2047.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Base64 implements Encoder
diff --git a/Content/Encoder/Encoder.php b/Content/Encoder/Encoder.php
index 130a3ca..9db4285 100644
--- a/Content/Encoder/Encoder.php
+++ b/Content/Encoder/Encoder.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Consistency;
*
* Interface for encoders and decoders. Decoding must always target UTF-8.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Encoder
diff --git a/Content/Encoder/QuotedPrintable.php b/Content/Encoder/QuotedPrintable.php
index 35a29e0..9deb47b 100644
--- a/Content/Encoder/QuotedPrintable.php
+++ b/Content/Encoder/QuotedPrintable.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Mail;
* Encode and decode a string as described in the RFC2045 Section 6.7 and
* RFC2047, Sections 4 and 5.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class QuotedPrintable implements Encoder
diff --git a/Content/Html.php b/Content/Html.php
index 99917b1..525f553 100644
--- a/Content/Html.php
+++ b/Content/Html.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Mail\Content;
*
* This class represents an HTML document.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Html extends Text
diff --git a/Content/Message.php b/Content/Message.php
index 0c4d527..2e84c62 100644
--- a/Content/Message.php
+++ b/Content/Message.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Mail;
* This class represents a message, that can also be a content of another
* message.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Message extends Content
@@ -176,7 +176,7 @@ class Message extends Content
* @param array &$out Out.
* @return void
*/
- protected function _getRecipients($line, Array &$out)
+ protected function _getRecipients($line, array &$out)
{
$line = preg_replace_callback(
'#("|\')[^\1]+\1#',
diff --git a/Content/Related.php b/Content/Related.php
index 9f350ed..dc3edfd 100644
--- a/Content/Related.php
+++ b/Content/Related.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -42,7 +42,7 @@ namespace Hoa\Mail\Content;
* Represent a set of content that are related.
* See RFC2111.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Related extends Message
@@ -62,7 +62,7 @@ class Related extends Message
* @param array $contents Related contents.
* @return void
*/
- public function __construct(Array $contents = [])
+ public function __construct(array $contents = [])
{
foreach ($contents as $content) {
$this->addContent($content);
diff --git a/Content/Text.php b/Content/Text.php
index 910a9c9..1f68dff 100644
--- a/Content/Text.php
+++ b/Content/Text.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Mail\Content;
*
* This class represents a text.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Text extends Content
diff --git a/Exception/Exception.php b/Exception/Exception.php
index 799ce48..fbc52ca 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Exception as HoaException;
*
* Extending the \Hoa\Exception\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends HoaException
diff --git a/Exception/Security.php b/Exception/Security.php
index a62ae49..df32feb 100644
--- a/Exception/Security.php
+++ b/Exception/Security.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Mail\Exception;
*
* Extending the \Hoa\Mail\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Security extends Exception
diff --git a/Exception/Transport.php b/Exception/Transport.php
index 072de09..aeab805 100644
--- a/Exception/Transport.php
+++ b/Exception/Transport.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Mail\Exception;
*
* Extending the \Hoa\Mail\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Transport extends Exception
diff --git a/Inbox/Message.php b/Inbox/Message.php
index 2802f43..c7b6933 100644
--- a/Inbox/Message.php
+++ b/Inbox/Message.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Mail\Inbox;
*
*
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
class Message extends \Hoa\Mail\Message
{
diff --git a/Message.php b/Message.php
index ce00656..d188ec9 100644
--- a/Message.php
+++ b/Message.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Mail;
*
* This class represents a message that can be sent through a transport.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Message extends Content\Message
diff --git a/Test/Unit/Content/Alternative.php b/Test/Unit/Content/Alternative.php
index 87b5966..0da5456 100644
--- a/Test/Unit/Content/Alternative.php
+++ b/Test/Unit/Content/Alternative.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -46,7 +46,7 @@ use Hoa\Test;
*
* Test suite of the alternative content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Alternative extends Test\Unit\Suite
diff --git a/Test/Unit/Content/Attachment.php b/Test/Unit/Content/Attachment.php
index d52628a..016794d 100644
--- a/Test/Unit/Content/Attachment.php
+++ b/Test/Unit/Content/Attachment.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -45,7 +45,7 @@ use Hoa\Test;
*
* Test suite of the attachment content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Attachment extends Test\Unit\Suite
diff --git a/Test/Unit/Content/Content.php b/Test/Unit/Content/Content.php
index 3b38e78..f2c30de 100644
--- a/Test/Unit/Content/Content.php
+++ b/Test/Unit/Content/Content.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Mock\Hoa\Mail\Content as SUT;
*
* Test suite of the content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Content extends Test\Unit\Suite
diff --git a/Test/Unit/Content/Encoder/Base64.php b/Test/Unit/Content/Encoder/Base64.php
index 625fb72..456f07e 100644
--- a/Test/Unit/Content/Encoder/Base64.php
+++ b/Test/Unit/Content/Encoder/Base64.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Test;
*
* Test suite of the base64 encoder.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Base64 extends Test\Unit\Suite
diff --git a/Test/Unit/Content/Encoder/QuotedPrintable.php b/Test/Unit/Content/Encoder/QuotedPrintable.php
index b9f99e4..1f45b34 100644
--- a/Test/Unit/Content/Encoder/QuotedPrintable.php
+++ b/Test/Unit/Content/Encoder/QuotedPrintable.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Test;
*
* Test suite of the quoted-printable encoder.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class QuotedPrintable extends Test\Unit\Suite
diff --git a/Test/Unit/Content/Html.php b/Test/Unit/Content/Html.php
index db9f695..40c5aa9 100644
--- a/Test/Unit/Content/Html.php
+++ b/Test/Unit/Content/Html.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Test;
*
* Test suite of the HTML content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Html extends Test\Unit\Suite
diff --git a/Test/Unit/Content/Message.php b/Test/Unit/Content/Message.php
index 6cddfee..0a9713e 100644
--- a/Test/Unit/Content/Message.php
+++ b/Test/Unit/Content/Message.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -45,7 +45,7 @@ use Hoa\Test;
*
* Test suite of the message content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Message extends Test\Unit\Suite
diff --git a/Test/Unit/Content/Related.php b/Test/Unit/Content/Related.php
index 679c8ec..0a6a8fb 100644
--- a/Test/Unit/Content/Related.php
+++ b/Test/Unit/Content/Related.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -46,7 +46,7 @@ use Hoa\Test;
*
* Test suite of the related content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Related extends Test\Unit\Suite
diff --git a/Test/Unit/Content/Text.php b/Test/Unit/Content/Text.php
index b6d3772..c6bd162 100644
--- a/Test/Unit/Content/Text.php
+++ b/Test/Unit/Content/Text.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Test;
*
* Test suite of the text content.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Text extends Test\Unit\Suite
diff --git a/Transport/ITransport/Out.php b/Transport/ITransport/Out.php
index a424242..eabd91a 100644
--- a/Transport/ITransport/Out.php
+++ b/Transport/ITransport/Out.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Mail;
*
* Represent a transport to send mails.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Out extends Transport
diff --git a/Transport/ITransport/Transport.php b/Transport/ITransport/Transport.php
index 60fd3fa..56f8188 100644
--- a/Transport/ITransport/Transport.php
+++ b/Transport/ITransport/Transport.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Mail\Transport\ITransport;
*
* Represent a mail transport.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Transport
diff --git a/Transport/Sendmail.php b/Transport/Sendmail.php
index 80ab8a1..fa7f8b7 100644
--- a/Transport/Sendmail.php
+++ b/Transport/Sendmail.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Mail;
* This class allows to send an email by using sendmail (through the PHP mail()
* function).
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Sendmail implements ITransport\Out
@@ -65,7 +65,7 @@ class Sendmail implements ITransport\Out
* function.
* @return void
*/
- public function __construct(Array $parameters = [])
+ public function __construct(array $parameters = [])
{
$this->_parameters = $parameters;
@@ -78,7 +78,7 @@ class Sendmail implements ITransport\Out
* @param array $parameters Additional parameters.
* @return array
*/
- protected function setParameters(Array $parameters)
+ protected function setParameters(array $parameters)
{
$old = $this->_parameters;
$this->_parameters = $parameters;
diff --git a/Transport/Smtp.php b/Transport/Smtp.php
index f7e7115..e311e44 100644
--- a/Transport/Smtp.php
+++ b/Transport/Smtp.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Socket;
*
* This class allows to send an email by using the SMTP protocol.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Smtp implements ITransport\Out