Completed
Push — dev ( e2b70a...eb5a26 )
by Jordan
02:18
created
src/Samsara/Fermat/Types/Number.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
         return $this->precision;
53 53
     }
54 54
 
55
+    /**
56
+     * @param NumberInterface $num
57
+     */
55 58
     public function add($num)
56 59
     {
57 60
         $num = Numbers::makeOrDont($this, $num, $this->getPrecision());
@@ -101,7 +104,7 @@  discard block
 block discarded – undo
101 104
      * Note about precision: it uses the smaller of the two precisions (significant figures).
102 105
      *
103 106
      * @param $num
104
-     * @return mixed
107
+     * @return NumberInterface
105 108
      */
106 109
     public function divide($num)
107 110
     {
@@ -398,6 +401,9 @@  discard block
 block discarded – undo
398 401
 
399 402
     }
400 403
 
404
+    /**
405
+     * @param ImmutableNumber $num
406
+     */
401 407
     public function getGreatestCommonDivisor($num)
402 408
     {
403 409
         /** @var ImmutableNumber $num */
Please login to merge, or discard this patch.