Skip to content

Commit 1e55dbe

Browse files
committed
Fix quotes ' in docstring
1 parent a22e4da commit 1e55dbe

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lisp/php-mode.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -918,8 +918,8 @@ This is was done due to the problem reported here:
918918
(defun php-lineup-string-cont (langelem)
919919
"Line up string toward equal sign or dot.
920920
e.g.
921-
$str \= 'some'
922-
. 'string';
921+
$str \= \'some\'
922+
. \'string\';
923923
this ^ lineup"
924924
(save-excursion
925925
(goto-char (cdr langelem))

lisp/php.el

+5-5
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ an integer (the current comment nesting)."
243243
"Make a regular expression for methods with the given VISIBILITY.
244244
245245
VISIBILITY must be a string that names the visibility for a PHP
246-
method, e.g. 'public'. The parameter VISIBILITY can itself also
246+
method, e.g. \'public\'. The parameter VISIBILITY can itself also
247247
be a regular expression.
248248
249249
The regular expression this function returns will check for other
250-
keywords that can appear in method signatures, e.g. 'final' and
251-
'static'. The regular expression will have one capture group
250+
keywords that can appear in method signatures, e.g. \'final\' and
251+
\'static\'. The regular expression will have one capture group
252252
which will be the name of the method."
253253
(when (stringp visibility)
254254
(setq visibility (list visibility)))
@@ -275,8 +275,8 @@ which will be the name of the method."
275275
'((* any) line-end))))))
276276

277277
(defun php-create-regexp-for-classlike (type)
278-
"Accepts a `TYPE' of a 'classlike' object as a string, such as
279-
'class' or 'interface', and returns a regexp as a string which
278+
"Accepts a `TYPE' of a \'classlike\' object as a string, such as
279+
\'class\' or \'interface\', and returns a regexp as a string which
280280
can be used to match against definitions for that classlike."
281281
(concat
282282
;; First see if 'abstract' or 'final' appear, although really these

0 commit comments

Comments
 (0)