original_string: public function findSources(string $sources): array
    {
      $patterns = $this->sourcesToPatterns($sources);
  
      $sources = [];
      foreach ($patterns as $pattern)
      {
        $tmp     = $this->findSourcesInPattern($pattern);
        $sources = array_merge($sources, $tmp);
      }
  
      $sources = array_unique($sources);
      sort($sources);
  
      return $sources;
    }
code: public function findSources(string $sources): array
    {
      $patterns = $this->sourcesToPatterns($sources);
  
      $sources = [];
      foreach ($patterns as $pattern)
      {
        $tmp     = $this->findSourcesInPattern($pattern);
        $sources = array_merge($sources, $tmp);
      }
  
      $sources = array_unique($sources);
      sort($sources);
  
      return $sources;
    }
code_tokens: public function findSources ( string $ sources ) : array { $ patterns = $ this -> sourcesToPatterns ( $ sources ) ; $ sources = [ ] ; foreach ( $ patterns as $ pattern ) { $ tmp = $ this -> findSourcesInPattern ( $ pattern ) ; $ sources = array_merge ( $ sources , $ tmp ) ; } $ sources = array_unique ( $ sources ) ; sort ( $ sources ) ; return $ sources ; }
docstring: Finds sources of stored routines.
  
  @param string $sources The value of the sources parameter.
  
  @return string[]
docstring_tokens: Finds sources of stored routines .