Completed
Push — master ( 719ee7...6f1833 )
by Andrii
02:23
created
src/UnitInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,6 @@
 block discarded – undo
61 61
     /**
62 62
      * Converts to other unit quantity.
63 63
      * @param UnitInterface $other
64
-     * @param int|float|string $amount raw amount
65 64
      * @return int|float|string quantity
66 65
      */
67 66
     public function convert(self $other, $quantity);
Please login to merge, or discard this patch.
tests/unit/UnitTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         $this->assertConvert(1000000000, $this->bps, $this->gbps);
80 80
     }
81 81
 
82
+    /**
83
+     * @param integer $factor
84
+     */
82 85
     protected function assertConvert($factor, $lesser, $bigger)
83 86
     {
84 87
         $this->assertSame(1, $lesser->convert($lesser, 1));
Please login to merge, or discard this patch.