Skip to content

Commit

Permalink
Coding convention compliance.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsur committed Jun 2, 2017
1 parent 56c612b commit a28589d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/SMTPRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ public function route_smtp_auth($args) {

return $core::pj($rv);
}
}

}
7 changes: 2 additions & 5 deletions src/SMTPStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ public function smtp_connect($host, $port) {
$srv = $this->smtp_services[$key];

$smtp = new \SMTP();
$rv = $smtp->connect($srv['host'], $srv['port'], $srv['timeout'],
$srv['opts']);
$rv = $smtp->connect($srv['host'], $srv['port'],
$srv['timeout'], $srv['opts']);
if (!$rv) {
$logger->warning(
"SMTP: open connection failed: $host:$port.");
Expand Down Expand Up @@ -220,6 +220,3 @@ public function adm_smtp_add_user(
}

}



2 changes: 0 additions & 2 deletions tests/SMTPStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,4 @@ public function test_route() {
AdminStoreError::USER_ALREADY_LOGGED_IN);
}


}

0 comments on commit a28589d

Please sign in to comment.