Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f815f66

Browse files
Salvatore CozzolongoSalvatore Cozzolongo
authored andcommitted
private on attribute
1 parent 912bd0c commit f815f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Singleton/Singleton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Singleton
1010
/**
1111
* @var cached reference to singleton instance
1212
*/
13-
protected static $instance;
13+
private static $instance;
1414

1515
/**
1616
* gets the instance via lazy initialization (created on first usage)

0 commit comments

Comments
 (0)