original_string: public static function getGroupIdName($users)
  	{
  		$users = explode(",", $users);
  		$usersArray = array();
  		foreach ($users as $user)
  		{
  			$user = User::find($user);
  			if ($user)
  				$usersArray[] = array('name' => $user->name, 'user_id' => $user->user_id);
  		}
  		return $usersArray;
  	}
code: public static function getGroupIdName($users)
  	{
  		$users = explode(",", $users);
  		$usersArray = array();
  		foreach ($users as $user)
  		{
  			$user = User::find($user);
  			if ($user)
  				$usersArray[] = array('name' => $user->name, 'user_id' => $user->user_id);
  		}
  		return $usersArray;
  	}
code_tokens: public static function getGroupIdName ( $ users ) { $ users = explode ( "," , $ users ) ; $ usersArray = array ( ) ; foreach ( $ users as $ user ) { $ user = User :: find ( $ user ) ; if ( $ user ) $ usersArray [ ] = array ( 'name' => $ user -> name , 'user_id' => $ user -> user_id ) ; } return $ usersArray ; }
docstring: Get id of groups permission
  @param $projectId int
  @return array
docstring_tokens: Get id of groups permission