mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Do not use the reserved word default as function name.
This commit is contained in:
@ -76,8 +76,8 @@ class Linker {
|
||||
$limitReached = false;
|
||||
$newLinks = false; // whether or not new links were added
|
||||
$newText = $source->getText();
|
||||
$splitter = Splitter::default( $this->config );
|
||||
$targets = Targets::default( $source->getTitle(), $this->config );
|
||||
$splitter = Splitter::singleton( $this->config );
|
||||
$targets = Targets::singleton( $source->getTitle(), $this->config );
|
||||
|
||||
// Iterate through the target page titles
|
||||
foreach( $targets->queryResult as $row ) {
|
||||
|
Reference in New Issue
Block a user