services/ec2/ec2.class.php [97:112]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            if(empty($groupIds)){
                return array();
            }
            
            $results = $this->ec2Client->describeSecurityGroups([
                'GroupIds' => $groupIds
            ]);
            $arr = $results->get('SecurityGroups');
            while($results->get('NextToken') !== null){
                $results = $this->ec2Client->describeSecurityGroups([
                    'NextToken' => $results->get('NextToken')
                ]);    
                $arr = array_merge($arr, $results->get('SecurityGroups'));
            }
            
            return $arr;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



services/ec2/ec2.class.php [130:145]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if(empty($groupIds)){
            return array();
        }
        
        $results = $this->ec2Client->describeSecurityGroups([
            'GroupIds' => $groupIds
        ]);
        $arr = $results->get('SecurityGroups');
        while($results->get('NextToken') !== null){
            $results = $this->ec2Client->describeSecurityGroups([
                'NextToken' => $results->get('NextToken')
            ]);    
            $arr = array_merge($arr, $results->get('SecurityGroups'));
        }
        
        return $arr;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



