original_string: public function getAssetFiles($type)
      {
          if (!isset($this->assets[$type])) {
              return false;
          }
          
          // Sort the files by dependnecies
          $files = $this->sortFilesByDependencies($this->assets[$type]);
  
          return $files;
      }
code: public function getAssetFiles($type)
      {
          if (!isset($this->assets[$type])) {
              return false;
          }
          
          // Sort the files by dependnecies
          $files = $this->sortFilesByDependencies($this->assets[$type]);
  
          return $files;
      }
code_tokens: public function getAssetFiles ( $ type ) { if ( ! isset ( $ this -> assets [ $ type ] ) ) { return false ; } // Sort the files by dependnecies $ files = $ this -> sortFilesByDependencies ( $ this -> assets [ $ type ] ) ; return $ files ; }
docstring: Returns an array with all files for the given type,
  sorted by the priority of the assets.
  
  @param string $type
  @return boolean|array
docstring_tokens: Returns an array with all files for the given type sorted by the priority of the assets .