Completed
Push — feature/74 ( da5499...1ca57f )
by Marc
01:34
created
src/Enum.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace MabeEnum;
4 4
 
5
-use ReflectionClass;
6 5
 use InvalidArgumentException;
7 6
 use LogicException;
7
+use ReflectionClass;
8 8
 
9 9
 /**
10 10
  * Class to implement enumerations for PHP 5 (without SplEnum)
Please login to merge, or discard this patch.
src/EnumMap.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace MabeEnum;
4 4
 
5
-use SplObjectStorage;
6 5
 use InvalidArgumentException;
6
+use SplObjectStorage;
7 7
 
8 8
 /**
9 9
  * EnumMap implementation in base of SplObjectStorage
Please login to merge, or discard this patch.
src/EnumSerializableTrait.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace MabeEnum;
4 4
 
5
-use RuntimeException;
6 5
 use LogicException;
6
+use RuntimeException;
7 7
 
8 8
 /**
9 9
  * Trait to make enumerations serializable
Please login to merge, or discard this patch.
src/EnumSet.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace MabeEnum;
4 4
 
5 5
 use Countable;
6
-use Iterator;
7 6
 use InvalidArgumentException;
7
+use Iterator;
8 8
 
9 9
 /**
10 10
  * This EnumSet is based on a bitset of a binary string.
Please login to merge, or discard this patch.
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -349,6 +349,7 @@  discard block
 block discarded – undo
349 349
      * FIXME: No variadic params with type constraints because of https://github.com/facebook/hhvm/issues/6954
350 350
      *
351 351
      * @param EnumSet ...$others Other EnumSet(s) of the same enumeration to produce the union
352
+     * @param EnumSet[] $others
352 353
      * @return EnumSet
353 354
      */
354 355
     public function union(...$others)
@@ -377,6 +378,7 @@  discard block
 block discarded – undo
377 378
      * FIXME: No variadic params with type constraints because of https://github.com/facebook/hhvm/issues/6954
378 379
      *
379 380
      * @param EnumSet ...$others Other EnumSet(s) of the same enumeration to produce the union
381
+     * @param EnumSet[] $others
380 382
      * @return EnumSet
381 383
      */
382 384
     public function intersect(...$others)
@@ -405,6 +407,7 @@  discard block
 block discarded – undo
405 407
      * FIXME: No variadic params with type constraints because of https://github.com/facebook/hhvm/issues/6954
406 408
      *
407 409
      * @param EnumSet ...$others Other EnumSet(s) of the same enumeration to produce the union
410
+     * @param EnumSet[] $others
408 411
      * @return EnumSet
409 412
      */
410 413
     public function diff(...$others)
@@ -437,6 +440,7 @@  discard block
 block discarded – undo
437 440
      * FIXME: No variadic params with type constraints because of https://github.com/facebook/hhvm/issues/6954
438 441
      *
439 442
      * @param EnumSet ...$others Other EnumSet(s) of the same enumeration to produce the union
443
+     * @param EnumSet[] $others
440 444
      * @return EnumSet
441 445
      */
442 446
     public function symDiff(...$others)
Please login to merge, or discard this patch.