Completed
Pull Request — master (#94)
by Mathieu
01:29
created
src/EnumTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * {@inheritdoc}
57 57
      *
58
-     * @return static The enum instance for given value
58
+     * @return EnumInterface The enum instance for given value
59 59
      */
60 60
     public static function get($value): EnumInterface
61 61
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      *
80 80
      * @throws \BadMethodCallException On invalid constant name
81 81
      *
82
-     * @return static When $name is an existing constant for this enumeration type
82
+     * @return EnumInterface When $name is an existing constant for this enumeration type
83 83
      */
84 84
     public static function __callStatic($name, $arguments = []): EnumInterface
85 85
     {
Please login to merge, or discard this patch.