File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,10 @@ should save your files with unix style end of line."
476476 ((and (boundp 'php-extras-function-arguments )
477477 (hash-table-p php-extras-function-arguments)
478478 (gethash (symbol-name symbol) php-extras-function-arguments))
479- (php-search-documentation))
479+ ; ; Older versions of `php-search-documentation' did not take arguments.
480+ (condition-case nil
481+ (php-search-documentation (symbol-name symbol))
482+ (wrong-number-of-arguments (php-search-documentation))))
480483 ((and drupal-drush-program (string-match " drush" (symbol-name symbol)))
481484 (browse-url
482485 (format-spec drupal-drush-search-url `((?v . ,(replace-regexp-in-string " \\ ([0-9]+\. \\ ).*\\ '" " \\ 1x" (replace-regexp-in-string " .*-dev" " master" drupal-drush-version)))
You can’t perform that action at this time.
0 commit comments