@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | /** |
| 13 | 13 | * @var self[] |
| 14 | 14 | */ |
| 15 | - static private $registry = []; |
|
| 15 | + static private $registry = [ ]; |
|
| 16 | 16 | |
| 17 | 17 | private function __construct($value) |
| 18 | 18 | { |
@@ -53,10 +53,10 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | private static function instance($string) |
| 55 | 55 | { |
| 56 | - if (!isset(static::$registry[$string])) { |
|
| 57 | - static::$registry[$string] = new static($string); |
|
| 56 | + if (!isset(static::$registry[ $string ])) { |
|
| 57 | + static::$registry[ $string ] = new static($string); |
|
| 58 | 58 | } |
| 59 | - return static::$registry[$string]; |
|
| 59 | + return static::$registry[ $string ]; |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | |