Completed
Pull Request — master (#2)
by Ondrej
01:50
created
src/VotingDecisionEnum.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.