Merge pull request #5 from flashwave/analysis-XNY5g8

Applied fixes from StyleCI
This commit is contained in:
flash 2015-11-11 22:56:11 +01:00
commit e756d84a19
2 changed files with 6 additions and 5 deletions

View file

@ -207,7 +207,8 @@ class User
} }
// Add ranks to a user // Add ranks to a user
public function addRanks($ranks) { public function addRanks($ranks)
{
// Update the ranks array // Update the ranks array
$ranks = array_map('intval', array_unique(array_merge($this->ranks(), $ranks))); $ranks = array_map('intval', array_unique(array_merge($this->ranks(), $ranks)));