From f815f664361de83107c888d7b194477b3e22c9c4 Mon Sep 17 00:00:00 2001 From: Salvatore Cozzolongo Date: Wed, 12 Mar 2014 11:29:33 +0100 Subject: [PATCH] private on attribute --- Singleton/Singleton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Singleton/Singleton.php b/Singleton/Singleton.php index ce7ee25..0aee908 100644 --- a/Singleton/Singleton.php +++ b/Singleton/Singleton.php @@ -10,7 +10,7 @@ class Singleton /** * @var cached reference to singleton instance */ - protected static $instance; + private static $instance; /** * gets the instance via lazy initialization (created on first usage)