dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "jquery.tablesorter: Improve detection and handling of isoDate"
[lhc/web/wiklou.git]
/
includes
/
MagicWord.php
diff --git
a/includes/MagicWord.php
b/includes/MagicWord.php
index
ee95918
..
e70b8ce
100644
(file)
--- a/
includes/MagicWord.php
+++ b/
includes/MagicWord.php
@@
-518,7
+518,7
@@
class MagicWord {
* Returns true if the text matches the word, and alters the
* input string, removing all instances of the word
*
* Returns true if the text matches the word, and alters the
* input string, removing all instances of the word
*
- * @param string $text
+ * @param string
&
$text
*
* @return bool
*/
*
* @return bool
*/
@@
-534,7
+534,7
@@
class MagicWord {
}
/**
}
/**
- * @param string $text
+ * @param string
&
$text
* @return bool
*/
public function matchStartAndRemove( &$text ) {
* @return bool
*/
public function matchStartAndRemove( &$text ) {
@@
-655,7
+655,7
@@
class MagicWord {
*
* @param array $magicarr
* @param string $subject
*
* @param array $magicarr
* @param string $subject
- * @param string $result
+ * @param string
&
$result
*
* @return bool
*/
*
* @return bool
*/
@@
-664,7
+664,7
@@
class MagicWord {
$search = [];
$replace = [];
foreach ( $magicarr as $id => $replacement ) {
$search = [];
$replace = [];
foreach ( $magicarr as $id => $replacement ) {
- $mw =
MagicWord
::get( $id );
+ $mw =
self
::get( $id );
$search[] = $mw->getRegex();
$replace[] = $replacement;
}
$search[] = $mw->getRegex();
$replace[] = $replacement;
}
@@
-677,7
+677,7
@@
class MagicWord {
* Adds all the synonyms of this MagicWord to an array, to allow quick
* lookup in a list of magic words
*
* Adds all the synonyms of this MagicWord to an array, to allow quick
* lookup in a list of magic words
*
- * @param array $array
+ * @param array
&
$array
* @param string $value
*/
public function addToArray( &$array, $value ) {
* @param string $value
*/
public function addToArray( &$array, $value ) {