We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fe64fc commit 001600cCopy full SHA for 001600c
php-mode.el
@@ -653,11 +653,10 @@ might be to handle switch and goto labels differently."
653
(eq 'arglist-cont-nonempty (car langelem)))
654
(save-excursion
655
(save-match-data
656
- (when (and (re-search-backward php-mode--re-return-typed-closure (cdr langelem) t)
657
- (progn
658
- (goto-char (match-data 1))
659
- (not (php-in-string-or-comment-p))))
660
- (setq in-return-typed-closure t)))))
+ (when (re-search-backward php-mode--re-return-typed-closure (cdr langelem) t)
+ (goto-char (match-beginning 1))
+ (when (not (php-in-string-or-comment-p))
+ (setq in-return-typed-closure t))))))
661
(unless in-return-typed-closure
662
(c-lineup-arglist langelem))))
663
0 commit comments