Completed
Push — feature/74 ( f551d9...cf090c )
by Marc
04:28 queued 46s
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
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -346,6 +346,7 @@  discard block
 block discarded – undo
346 346
     /**
347 347
      * Produce a new set with enumerators from both this and other (this | other)
348 348
      * @param EnumSet ...$others Other EnumSet(s) of the same enumeration to produce the union
349
+     * @param EnumSet[] $others
349 350
      * @return EnumSet
350 351
      */
351 352
     public function union(EnumSet ...$others)
@@ -370,6 +371,7 @@  discard block
 block discarded – undo
370 371
     /**
371 372
      * Produce a new set with enumerators common to both this and other (this & other)
372 373
      * @param EnumSet ...$others Other EnumSet(s) of the same enumeration to produce the union
374
+     * @param EnumSet[] $others
373 375
      * @return EnumSet
374 376
      */
375 377
     public function intersect(EnumSet ...$others)
@@ -394,6 +396,7 @@  discard block
 block discarded – undo
394 396
     /**
395 397
      * Produce a new set with enumerators in this but not in other (this - other)
396 398
      * @param EnumSet ...$others Other EnumSet(s) of the same enumeration to produce the union
399
+     * @param EnumSet[] $others
397 400
      * @return EnumSet
398 401
      */
399 402
     public function diff(EnumSet ...$others)
@@ -422,6 +425,7 @@  discard block
 block discarded – undo
422 425
     /**
423 426
      * Produce a new set with enumerators in either this and other but not in both (this ^ (other | other))
424 427
      * @param EnumSet ...$others Other EnumSet(s) of the same enumeration to produce the union
428
+     * @param EnumSet[] $others
425 429
      * @return EnumSet
426 430
      */
427 431
     public function symDiff(EnumSet ...$others)
Please login to merge, or discard this patch.
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.