original_string: public function clearImportDirectory(): void
      {
          $tmp_files = glob($this->config->getImportDir().DIRECTORY_SEPARATOR.'*.*');
          if (is_array($tmp_files)) {
              foreach ($tmp_files as $v) {
                  unlink($v);
              }
          }
      }
code: public function clearImportDirectory(): void
      {
          $tmp_files = glob($this->config->getImportDir().DIRECTORY_SEPARATOR.'*.*');
          if (is_array($tmp_files)) {
              foreach ($tmp_files as $v) {
                  unlink($v);
              }
          }
      }
code_tokens: public function clearImportDirectory ( ) : void { $ tmp_files = glob ( $ this -> config -> getImportDir ( ) . DIRECTORY_SEPARATOR . '*.*' ) ; if ( is_array ( $ tmp_files ) ) { foreach ( $ tmp_files as $ v ) { unlink ( $ v ) ; } } }
docstring: Delete all files from tmp directory.
docstring_tokens: Delete all files from tmp directory .