Skip to content

Commit 3d8140a

Browse files
committed
fixed some code smells
1 parent 61e4553 commit 3d8140a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/ConfigLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function getConfig()
7272
* @return StdClass
7373
* @link http://onli.me/array2object
7474
*/
75-
protected function _arrayToObject($arr)
75+
protected function _arrayToObject(array $arr)
7676
{
7777
if (is_array($arr)) {
7878
/*

app/SendmailThrottle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ protected function _connect()
6565
* @param string $username
6666
* @param int $rcptCount number of recipients
6767
* @return int exit status code (0 = success)
68+
* @throws Exception
6869
*/
6970
public function run($username, $rcptCount)
7071
{

app/StdinMailParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ public function __construct()
5858

5959
/**
6060
* Run sendmail wrapper
61-
*
62-
* @return int exit status code (0 = success)
6361
*/
6462
public function init()
6563
{

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"require": {
1919
"php": ">=5.4.0",
2020
"ext-mbstring": "*",
21-
"ext-pdo": "*"
21+
"ext-pdo": "*",
22+
"ext-imap": "*"
2223
}
2324
}

0 commit comments

Comments
 (0)