Fix singleton test.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-05-08 11:05:36 +02:00
parent 76880ae4e2
commit c4416ef631
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ final class Test {
}
/* This is singleton */
public object getInstance() {
public static object getInstance() {
static object $instance;
if(!$instance) {
$instance = new Test();