Skip to content

Commit

Permalink
Don't typehint argument, since it can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jun 24, 2014
1 parent 9d38bd0 commit 61229fe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion imp/lib/Ftree/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __toString()
* @return array Array of elements to be added via
* IMP_Ftree#_insertElt().
*/
abstract public function getList(array $query = array(), $mask = 0);
abstract public function getList($query = array(), $mask = 0);

/**
* Return the mailbox selction to delete.
Expand Down
2 changes: 1 addition & 1 deletion imp/lib/Ftree/Account/Imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __get($name)

/**
*/
public function getList(array $query = array(), $mask = 0)
public function getList($query = array(), $mask = 0)
{
global $prefs;

Expand Down
2 changes: 1 addition & 1 deletion imp/lib/Ftree/Account/Inboxonly.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class IMP_Ftree_Account_Inboxonly extends IMP_Ftree_Account
{
/**
*/
public function getList(array $query = array(), $mask = 0)
public function getList($query = array(), $mask = 0)
{
return array(
array(
Expand Down
2 changes: 1 addition & 1 deletion imp/lib/Ftree/Account/Remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct($id = null)

/**
*/
public function getList(array $query = array(), $mask = 0)
public function getList($query = array(), $mask = 0)
{
global $injector;

Expand Down
2 changes: 1 addition & 1 deletion imp/lib/Ftree/Account/Vfolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct($id = null)

/**
*/
public function getList(array $query = array(), $mask = 0)
public function getList($query = array(), $mask = 0)
{
global $injector;

Expand Down

0 comments on commit 61229fe

Please sign in to comment.