original_string: public function mergeRulesets($keys)
      {
          $keys = is_array($keys) ? $keys : func_get_args();
          $rulesets = [];
          foreach ($keys as $key) {
              $rulesets[] = (array) $this->getRuleset($key, false);
          }
  
          return array_filter(call_user_func_array('array_merge', $rulesets));
      }
code: public function mergeRulesets($keys)
      {
          $keys = is_array($keys) ? $keys : func_get_args();
          $rulesets = [];
          foreach ($keys as $key) {
              $rulesets[] = (array) $this->getRuleset($key, false);
          }
  
          return array_filter(call_user_func_array('array_merge', $rulesets));
      }
code_tokens: public function mergeRulesets ( $ keys ) { $ keys = is_array ( $ keys ) ? $ keys : func_get_args ( ) ; $ rulesets = [ ] ; foreach ( $ keys as $ key ) { $ rulesets [ ] = ( array ) $ this -> getRuleset ( $ key , false ) ; } return array_filter ( call_user_func_array ( 'array_merge' , $ rulesets ) ) ; }
docstring: Helper method to merge rulesets, with later rules overwriting
  earlier ones.
  
  @deprecated watson/validating@0.10.9
  
  @param array $keys
  
  @return array
docstring_tokens: Helper method to merge rulesets with later rules overwriting earlier ones .