Skip to content

Commit ea44313

Browse files
committed
Fix
1 parent 00bb0b3 commit ea44313

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

phpstan.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ it returns the value of `SOURCE' as it is."
477477
((memq verbose '(1 t)) (list "-v"))
478478
((eq verbose 2) (list "-vv"))
479479
((eq verbose 3) (list "-vvv"))
480-
(error ":verbose option should be 1, 2, 3 or `t'"))
480+
((error ":verbose option should be 1, 2, 3 or `t'")))
481481
(cond
482482
(phpstan--use-xdebug-option (list phpstan--use-xdebug-option))
483483
((eq phpstan-use-xdebug-option 'auto)
@@ -498,10 +498,10 @@ it returns the value of `SOURCE' as it is."
498498
(buffer-substring-no-properties (region-beginning) (region-end))
499499
(or (thing-at-point 'symbol t) ""))
500500
current-prefix-arg))
501-
(let ((template (if current-prefix-arg
501+
(let ((template (if prefix-num
502502
(cdr phpstan-intert-dump-type-templates)
503503
(car phpstan-intert-dump-type-templates))))
504-
(move-end-of-line 1)
504+
(end-of-line)
505505
(newline-and-indent)
506506
(insert template)
507507
(search-backward "(" (line-beginning-position) t)

0 commit comments

Comments
 (0)