Completed
Push — master ( 81d816...b87fb1 )
by Andrii
25:55 queued 10:56
created
tests/unit/UnitTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         $this->assertConvert(1000000000, $this->bps, $this->gbps);
87 87
     }
88 88
 
89
+    /**
90
+     * @param integer $factor
91
+     */
89 92
     protected function assertConvert($factor, Unit $lesser, Unit $bigger)
90 93
     {
91 94
         $this->assertSame(1, $lesser->convert($lesser, 1));
Please login to merge, or discard this patch.
src/AbstractQuantity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
      * Returns unit for given unit name.
227 227
      * The only function to change in child classes.
228 228
      * XXX Should be defined as abstract but `abstract static` is not supported in PHP5.
229
-     * @param string $name
229
+     * @param string $unit
230 230
      * @return UnitInterface
231 231
      */
232 232
     protected static function findUnit($unit)
Please login to merge, or discard this patch.