original_string: private function createDirectory(string $directory, int $mode): bool {
      $auth = false;
      if (is_dir($directory)) {
        $auth = true;
      } else {
        @mkdir($directory, $mode, true);
      }
      @chmod($directory, $mode);
      return is_dir($directory);
    }
code: private function createDirectory(string $directory, int $mode): bool {
      $auth = false;
      if (is_dir($directory)) {
        $auth = true;
      } else {
        @mkdir($directory, $mode, true);
      }
      @chmod($directory, $mode);
      return is_dir($directory);
    }
code_tokens: private function createDirectory ( string $ directory , int $ mode ) : bool { $ auth = false ; if ( is_dir ( $ directory ) ) { $ auth = true ; } else { @ mkdir ( $ directory , $ mode , true ) ; } @ chmod ( $ directory , $ mode ) ; return is_dir ( $ directory ) ; }
docstring: - Make directory
  @param string $directory Path of directory
  @param int $mode Define chmod of path directory
  @return bool Info if create the folder
docstring_tokens: - Make directory