original_string: protected function _prepareWholeData($ruleKey, array $data, $function)
      {
          foreach ($data as $key => $value) {
              if (preg_match($ruleKey, $key)) {
                  $data[$key] = $this->_callUserFunction($function, $key, $value, null);
              }
          }
  
          return $data;
      }
code: protected function _prepareWholeData($ruleKey, array $data, $function)
      {
          foreach ($data as $key => $value) {
              if (preg_match($ruleKey, $key)) {
                  $data[$key] = $this->_callUserFunction($function, $key, $value, null);
              }
          }
  
          return $data;
      }
code_tokens: protected function _prepareWholeData ( $ ruleKey , array $ data , $ function ) { foreach ( $ data as $ key => $ value ) { if ( preg_match ( $ ruleKey , $ key ) ) { $ data [ $ key ] = $ this -> _callUserFunction ( $ function , $ key , $ value , null ) ; } } return $ data ; }
docstring: allow to use return preparation on all data in object
  
  @param string $ruleKey
  @param array $data
  @param array|string|\Closure $function
  @return array
docstring_tokens: allow to use return preparation on all data in object