Completed
Push — develop ( 942ad7...b0621f )
by Adrien
22:01 queued 09:22
created
src/PhpSpreadsheet/Shared/JAMA/utils/Error.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 
66 66
 /**
67 67
  *    Custom error handler
68
- *    @param int $num Error number
68
+ * @return string|null
69 69
  */
70 70
 function JAMAError($errorNumber = null)
71 71
 {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLERead.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * Read the file
76 76
      *
77
-     * @param $sFileName string Filename
77
+     * @param string $sFileName string Filename
78 78
      * @throws \PHPExcel\Reader\Exception
79 79
      */
80 80
     public function read($sFileName)
@@ -172,6 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * Extract binary stream data
174 174
      *
175
+     * @param integer $stream
175 176
      * @return string
176 177
      */
177 178
     public function getStream($stream)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/PCLZip/PclZip.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -215,6 +215,10 @@  discard block
 block discarded – undo
215 215
     //     Note that no real action is taken, if the archive does not exist it is not
216 216
     //     created. Use create() for that.
217 217
     // --------------------------------------------------------------------------------
218
+
219
+    /**
220
+     * @param string $p_zipname
221
+     */
218 222
     public function __construct($p_zipname)
219 223
     {
220 224
 
@@ -2193,6 +2197,10 @@  discard block
 block discarded – undo
2193 2197
     // Description :
2194 2198
     // Parameters :
2195 2199
     // --------------------------------------------------------------------------------
2200
+
2201
+    /**
2202
+     * @param string $p_mode
2203
+     */
2196 2204
     public function privOpenFd($p_mode)
2197 2205
     {
2198 2206
         $v_result=1;
@@ -3772,6 +3780,10 @@  discard block
 block discarded – undo
3772 3780
     // Parameters :
3773 3781
     // Return Values :
3774 3782
     // --------------------------------------------------------------------------------
3783
+
3784
+    /**
3785
+     * @param string $p_string
3786
+     */
3775 3787
     public function privExtractFileAsString(&$p_entry, &$p_string, &$p_options)
3776 3788
     {
3777 3789
         $v_result=1;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/TimeZone.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     /**
82 82
      *    Return the Timezone transition for the specified timezone and timestamp
83 83
      *
84
-     *    @param        DateTimeZone         $objTimezone    The timezone for finding the transitions
84
+     *    @param        \DateTimeZone         $objTimezone    The timezone for finding the transitions
85 85
      *    @param        integer                 $timestamp        PHP date/time value for finding the current transition
86 86
      *    @return         array                The current transition details
87 87
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Trend/BestFit.php 1 patch
Doc Comments   +11 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * Return the Y-Value for a specified value of X
123 123
      *
124 124
      * @param     float        $xValue            X-Value
125
-     * @return     float                        Y-Value
125
+     * @return     boolean                        Y-Value
126 126
      */
127 127
     public function getValueOfYForX($xValue)
128 128
     {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      * Return the X-Value for a specified value of Y
134 134
      *
135 135
      * @param     float        $yValue            Y-Value
136
-     * @return     float                        X-Value
136
+     * @return     boolean                        X-Value
137 137
      */
138 138
     public function getValueOfXForY($yValue)
139 139
     {
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      * Return the Equation of the best-fit line
155 155
      *
156 156
      * @param     int        $dp        Number of places of decimal precision to display
157
-     * @return     string
157
+     * @return     boolean
158 158
      */
159 159
     public function getEquation($dp = 0)
160 160
     {
@@ -306,6 +306,9 @@  discard block
 block discarded – undo
306 306
         return $this->yBestFitValues;
307 307
     }
308 308
 
309
+    /**
310
+     * @param double $sumY2
311
+     */
309 312
     protected function calculateGoodnessOfFit($sumX, $sumY, $sumX2, $sumY2, $sumXY, $meanX, $meanY, $const)
310 313
     {
311 314
         $SSres = $SScov = $SScor = $SStot = $SSsex = 0.0;
@@ -360,6 +363,11 @@  discard block
 block discarded – undo
360 363
         }
361 364
     }
362 365
 
366
+    /**
367
+     * @param double[] $yValues
368
+     * @param double[] $xValues
369
+     * @param boolean $const
370
+     */
363 371
     protected function leastSquareFit($yValues, $xValues, $const)
364 372
     {
365 373
         // calculate sums
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * Return the Slope of the line
78 78
      *
79 79
      * @param     int        $dp        Number of places of decimal precision to display
80
-     * @return     string
80
+     * @return     double
81 81
      **/
82 82
     public function getSlope($dp = 0)
83 83
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * Return the Value of X where it intersects Y = 0
92 92
      *
93 93
      * @param     int        $dp        Number of places of decimal precision to display
94
-     * @return     string
94
+     * @return     double
95 95
      **/
96 96
     public function getIntersect($dp = 0)
97 97
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Trend/PowerBestFit.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      * Return the Value of X where it intersects Y = 0
82 82
      *
83 83
      * @param     int        $dp        Number of places of decimal precision to display
84
-     * @return     string
84
+     * @return     double
85 85
      **/
86 86
     public function getIntersect($dp = 0)
87 87
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/XMLWriter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * Fallback method for writeRaw, introduced in PHP 5.2
110 110
      *
111 111
      * @param string $text
112
-     * @return string
112
+     * @return boolean
113 113
      */
114 114
     public function writeRawData($text)
115 115
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/ZipArchive.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@
 block discarded – undo
155 155
         return $contents;
156 156
     }
157 157
 
158
+    /**
159
+     * @param integer $index
160
+     */
158 161
     public function getFromIndex($index)
159 162
     {
160 163
         $extracted = $this->zip->extractByIndex($index, PCLZIP_OPT_EXTRACT_AS_STRING);
Please login to merge, or discard this patch.