Completed
Push — const_visibility ( d18b26 )
by Marc
02:38
created
src/EnumMap.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     /**
159 159
      * Attach a new enumerator or overwrite an existing one
160 160
      * @param Enum|null|boolean|int|float|string $enumerator
161
-     * @param mixed                              $data
161
+     * @param string                              $data
162 162
      * @return void
163 163
      * @throws InvalidArgumentException On an invalid given enumerator
164 164
      */
@@ -234,8 +234,8 @@  discard block
 block discarded – undo
234 234
 
235 235
     /**
236 236
      * Attach a new enumerator or overwrite an existing one
237
-     * @param Enum|null|boolean|int|float|string $enumerator
238
-     * @param mixed                              $data
237
+     * @param \MabeEnumTest\TestAsset\EnumInheritance $enumerator
238
+     * @param string                              $data
239 239
      * @return void
240 240
      * @throws InvalidArgumentException On an invalid given enumerator
241 241
      * @see attach()
Please login to merge, or discard this patch.
tests/MabeEnumTest/EnumTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use MabeEnumTest\TestAsset\EnumInheritance;
7 7
 use MabeEnumTest\TestAsset\EnumAmbiguous;
8 8
 use MabeEnumTest\TestAsset\EnumExtendedAmbiguous;
9
-use MabeEnumTest\TestAsset\ConstVisibility;
10 9
 use PHPUnit_Framework_TestCase as TestCase;
11 10
 use ReflectionClass;
12 11
 
Please login to merge, or discard this patch.