mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-07 06:26:45 +02:00
Use @var instead of obsolete @static tag
This commit is contained in:
@@ -73,7 +73,7 @@ one instance of a particular class. The singleton pattern enables us to do this.
|
||||
class Singleton
|
||||
{
|
||||
/**
|
||||
* @static Singleton The reference to *Singleton* instance of this class
|
||||
* @var Singleton The reference to *Singleton* instance of this class
|
||||
*/
|
||||
private static $instance;
|
||||
|
||||
|
Reference in New Issue
Block a user