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:
@ -52,7 +52,7 @@ class Splitter {
|
||||
*
|
||||
* @param Config|null $config LinkTitles configuration.
|
||||
*/
|
||||
public static function default( Config &$config = null ) {
|
||||
public static function singleton( Config &$config = null ) {
|
||||
if ( self::$instance === null ) {
|
||||
if ( $config === null ) {
|
||||
$config = new Config();
|
||||
|
Reference in New Issue
Block a user