Fix singleton test.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-05-08 11:05:36 +02:00
부모 76880ae4e2
커밋 c4416ef631
로그인 계정: belliash
GPG 키 ID: 4E829243E0CFE6B4

파일 보기

@ -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();