Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
maratth committed Dec 1, 2017
1 parent 45269ef commit 3d47357
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/Mailer/Email.php
Expand Up @@ -841,7 +841,8 @@ public function headerCharset($charset = null)
* @param string|null $encoding Encoding set.
* @return $this
*/
public function setTransferEncoding($encoding) {
public function setTransferEncoding($encoding)
{
$this->transferEncoding = $encoding;

return $this;
Expand All @@ -852,7 +853,8 @@ public function setTransferEncoding($encoding) {
*
* @return string|null Encoding
*/
public function getTransferEncoding() {
public function getTransferEncoding()
{
return $this->transferEncoding;
}

Expand Down
6 changes: 4 additions & 2 deletions tests/TestCase/Mailer/EmailTest.php
Expand Up @@ -96,7 +96,8 @@ public function render($content)
*
* @return string
*/
public function getContentTransferEncoding() {
public function getContentTransferEncoding()
{
return $this->_getContentTransferEncoding();
}

Expand Down Expand Up @@ -2502,7 +2503,8 @@ public function testHeaderCharset()
*
* @return void
*/
public function testTransferEncoding(){
public function testTransferEncoding()
{
// Test new transfer encoding
$this->Email->setTransferEncoding('quoted-printable');
$this->assertSame($this->Email->getTransferEncoding(), 'quoted-printable');
Expand Down

0 comments on commit 3d47357

Please sign in to comment.