Merge pull request #9930 from frederic34/fixphpcs

fix phpcs
This commit is contained in:
Laurent Destailleur 2018-11-05 09:18:34 +01:00 committed by GitHub
commit 234c35e940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -302,8 +302,13 @@ class EmailCollector extends CommonObject
/** /**
* Fetch all account and load objects into an array * Fetch all account and load objects into an array
* *
* @return array Array with key => EmailCollector object * @param User $user User
* @author * @param int $activeOnly filter if active
* @param string $sortfield field for sorting
* @param string $sortorder sorting order
* @param int $limit sort limit
* @param int $page page to start on
* @return array Array with key => EmailCollector object
*/ */
public function fetchAll(User $user, $activeOnly = 0, $sortfield = 's.rowid', $sortorder = 'ASC', $limit = 100, $page = 0) public function fetchAll(User $user, $activeOnly = 0, $sortfield = 's.rowid', $sortorder = 'ASC', $limit = 100, $page = 0)
{ {
@ -490,7 +495,7 @@ class EmailCollector extends CommonObject
return $this->LibStatut($this->status, $mode); return $this->LibStatut($this->status, $mode);
} }
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/** /**
* Return the status * Return the status
* *

View File

@ -424,7 +424,7 @@ class MyObject extends CommonObject
return $this->LibStatut($this->status, $mode); return $this->LibStatut($this->status, $mode);
} }
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/** /**
* Return the status * Return the status
* *