Skip to content

Commit 6f9a471

Browse files
authored
Merge pull request #706 from emacs-php/fix/docstring
Fix quotes = and ' in docstring
2 parents 954afdc + e4c764a commit 6f9a471

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lisp/php-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,8 @@ This is was done due to the problem reported here:
895895
(defun php-lineup-string-cont (langelem)
896896
"Line up string toward equal sign or dot.
897897
e.g.
898-
$str = 'some'
899-
. 'string';
898+
$str \= \'some\'
899+
. \'string\';
900900
this ^ lineup"
901901
(save-excursion
902902
(goto-char (cdr langelem))

lisp/php.el

Lines changed: 5 additions & 5 deletions
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)