Skip to content

Commit a198897

Browse files
committed
Fix pattern of level (accepts 1 digit number)
1 parent 6840f6c commit a198897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpstan.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#'(lambda (v) (or (null v)
5252
(integerp v)
5353
(and (stringp v)
54-
(string-match-p "\\`[1-9][0-9]*\\'" v))))))
54+
(string-match-p "\\`[0-9]\\'" v))))))
5555

5656
;;;###autoload
5757
(progn

0 commit comments

Comments
 (0)