Completed
Push — dev ( 7836f7...155022 )
by Jordan
02:14
created
src/Samsara/Fermat/Context/GaussianContext.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
         return $this->PDFByValue($value);
86 86
     }
87 87
 
88
+    /**
89
+     * @param NumberInterface $value
90
+     */
88 91
     public function PDFByValue($value)
89 92
     {
90 93
         $value = Numbers::makeOrDont($this->numberType, $value);
Please login to merge, or discard this patch.
src/Samsara/Fermat/Provider/Stats/Stats.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -88,6 +88,9 @@
 block discarded – undo
88 88
 
89 89
     }
90 90
 
91
+    /**
92
+     * @param NumberInterface $p
93
+     */
91 94
     public static function inverseNormalCDF($p, $precision = 10)
92 95
     {
93 96
         $pi = Numbers::makePi();
Please login to merge, or discard this patch.
src/Samsara/Fermat/Provider/SequenceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      * WARNING: This function is VERY unoptimized. Be careful of large m values.
54 54
      *
55 55
      * @param $m
56
-     * @param $n
56
+     * @param integer $n
57 57
      *
58 58
      * @return NumberInterface
59 59
      */
Please login to merge, or discard this patch.
src/Samsara/Fermat/Types/Number.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
 
23 23
     protected $base;
24 24
 
25
+    /**
26
+     * @param integer $precision
27
+     */
25 28
     public function __construct($value, $precision = null, $base = 10)
26 29
     {
27 30
         $this->base = $base;
@@ -98,7 +101,7 @@  discard block
 block discarded – undo
98 101
      * Note about precision: it uses the smaller of the two precisions (significant figures).
99 102
      *
100 103
      * @param $num
101
-     * @return mixed
104
+     * @return NumberInterface
102 105
      */
103 106
     public function divide($num)
104 107
     {
Please login to merge, or discard this patch.