original_string: private function getDirectoryIterator(string $directory): \DirectoryIterator
      {
          if ($directory === 'default') {
              return new \DirectoryIterator($this->dataDirectory);
          }
          return new \DirectoryIterator($directory);
      }
code: private function getDirectoryIterator(string $directory): \DirectoryIterator
      {
          if ($directory === 'default') {
              return new \DirectoryIterator($this->dataDirectory);
          }
          return new \DirectoryIterator($directory);
      }
code_tokens: private function getDirectoryIterator ( string $ directory ) : \ DirectoryIterator { if ( $ directory === 'default' ) { return new \ DirectoryIterator ( $ this -> dataDirectory ) ; } return new \ DirectoryIterator ( $ directory ) ; }
docstring: Get Directory Iterator
  @param string $directory
  @return \DirectoryIterator
docstring_tokens: Get Directory Iterator