Passed
Push — master ( d0ebb7...0d8755 )
by Rudi
03:39
created
src/Pair.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      *
40 40
      * @param mixed $name
41 41
      *
42
-     * @return mixed|null
42
+     * @return boolean
43 43
      */
44 44
     public function __isset($name)
45 45
     {
Please login to merge, or discard this patch.
src/Traits/Capacity.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Ds\Traits;
3 3
 
4
-use Ds\Deque;
5
-
6 4
 /**
7 5
  * Common to structures that deal with an internal capacity. While none of the
8 6
  * PHP implementations actually make use of a capacity, it's important to keep
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
     {
119 119
         $this->capacity = max(
120 120
             self::MIN_CAPACITY,
121
-            $this->capacity()  * $this->getDecayFactor()
121
+            $this->capacity() * $this->getDecayFactor()
122 122
         );
123 123
     }
124 124
 
Please login to merge, or discard this patch.