Enhanced PHPDocs

This commit is contained in:
SilverFire - Dmitry Naumenko
2016-12-17 12:44:39 +02:00
parent 5795b3937e
commit 4e32fb1eba

View File

@ -224,10 +224,10 @@ abstract class BaseManager extends Component implements ManagerInterface
}
/**
* Checks whether $assignments array is empty and [[defaultRoles]] are empty as well.
* Checks whether array of $assignments is empty and [[defaultRoles]] property is empty as well
*
* @param Assignment[] $assignments array of user's assignments
* @return bool whether $assignments array is empty and [[defaultRoles]] are empty as well
* @return bool whether array of $assignments is empty and [[defaultRoles]] property is empty as well
* @since 2.0.11
*/
protected function hasNoAssignments(array $assignments)