Fixed singleton getInstance
This commit is contained in:
parent
fa45583c4d
commit
a84f6f3819
@ -110,7 +110,7 @@ snippet singlet
|
|||||||
|
|
||||||
private $1() { }
|
private $1() { }
|
||||||
|
|
||||||
private static $1 getInstance() {
|
public static $1 getInstance() {
|
||||||
return Holder.INSTANCE;
|
return Holder.INSTANCE;
|
||||||
}
|
}
|
||||||
##
|
##
|
||||||
|
Loading…
Reference in New Issue
Block a user