add visibility declaration to __construct

This commit is contained in:
ibandominguez 2015-06-20 20:01:16 +01:00
parent 1f7138cde1
commit 1a6152772d

View File

@ -24,7 +24,7 @@ class User implements \SplSubject
*/
protected $observers;
function __construct()
public function __construct()
{
$this->observers = new \SplObjectStorage();
}