Initial version of variable definition.
All checks were successful
The build was successful.

This commit is contained in:
2018-09-21 00:21:15 +02:00
parent 241c7d8168
commit bd4d146d0a
2 changed files with 121 additions and 23 deletions

View File

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