Completed
Push — develop ( 539a89...685e29 )
by Adrien
11:28
created
src/PhpSpreadsheet/Reader/CSV.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@
 block discarded – undo
392 392
     /**
393 393
      * Get Contiguous
394 394
      *
395
-     * @return boolean
395
+     * @return integer
396 396
      */
397 397
     public function getContiguous()
398 398
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Excel2003XML.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -231,6 +231,9 @@  discard block
 block discarded – undo
231 231
         return $this->loadIntoExisting($pFilename, $objPHPExcel);
232 232
     }
233 233
 
234
+    /**
235
+     * @param string $styleAttributeValue
236
+     */
234 237
     protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue)
235 238
     {
236 239
         $styleAttributeValue = strtolower($styleAttributeValue);
@@ -786,6 +789,9 @@  discard block
 block discarded – undo
786 789
     }
787 790
 
788 791
 
792
+    /**
793
+     * @param string $charset
794
+     */
789 795
     protected static function convertStringEncoding($string, $charset)
790 796
     {
791 797
         if ($charset != 'UTF-8') {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Excel5.php 1 patch
Doc Comments   +16 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1211,7 +1211,7 @@  discard block
 block discarded – undo
1211 1211
      *
1212 1212
      * @param string $data   Data stream to read from
1213 1213
      * @param int    $pos    Position to start reading from
1214
-     * @param int    $length Record data length
1214
+     * @param integer $len
1215 1215
      *
1216 1216
      * @return string Record data
1217 1217
      */
@@ -1754,6 +1754,7 @@  discard block
 block discarded – undo
1754 1754
      * @var int    $block      Block for which to create decrypto
1755 1755
      * @var string $valContext MD5 context state
1756 1756
      *
1757
+     * @param string $valContext
1757 1758
      * @return Excel5\RC4
1758 1759
      */
1759 1760
     private function makeKey($block, $valContext)
@@ -1788,6 +1789,11 @@  discard block
 block discarded – undo
1788 1789
      * @var string $hashedsalt_data Hashed salt data
1789 1790
      * @var string &$valContext     Set to the MD5 context of the value
1790 1791
      *
1792
+     * @param string $password
1793
+     * @param string $docid
1794
+     * @param string $salt_data
1795
+     * @param string $hashedsalt_data
1796
+     * @param string $valContext
1791 1797
      * @return bool Success
1792 1798
      */
1793 1799
     private function verifyPassword($password, $docid, $salt_data, $hashedsalt_data, &$valContext)
@@ -5227,7 +5233,7 @@  discard block
 block discarded – undo
5227 5233
      * is in one piece.
5228 5234
      * Moves to next current position in data stream to start of next record different from a CONtINUE record
5229 5235
      *
5230
-     * @return array
5236
+     * @return integer|null
5231 5237
      */
5232 5238
     private function getSplicedRecordData()
5233 5239
     {
@@ -5331,8 +5337,7 @@  discard block
 block discarded – undo
5331 5337
      * Take array of tokens together with additional data for formula and return human readable formula
5332 5338
      *
5333 5339
      * @param array $tokens
5334
-     * @param array $additionalData Additional binary data going with the formula
5335
-     * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas
5340
+     * @param string $additionalData Additional binary data going with the formula
5336 5341
      * @return string Human readable formula
5337 5342
      */
5338 5343
     private function createFormulaFromTokens($tokens, $additionalData)
@@ -5496,7 +5501,8 @@  discard block
 block discarded – undo
5496 5501
      *
5497 5502
      * @param string Formula data
5498 5503
      * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas
5499
-     * @return array
5504
+     * @param string $formulaData
5505
+     * @return string
5500 5506
      * @throws Exception
5501 5507
      */
5502 5508
     private function getNextToken($formulaData, $baseCell = 'A1')
@@ -7070,7 +7076,7 @@  discard block
 block discarded – undo
7070 7076
      * section 2.5.15
7071 7077
      *
7072 7078
      * @param string $subData
7073
-     * @return array
7079
+     * @return string
7074 7080
      */
7075 7081
     private function readBIFF8CellRangeAddressList($subData)
7076 7082
     {
@@ -7463,6 +7469,9 @@  discard block
 block discarded – undo
7463 7469
     }
7464 7470
 
7465 7471
 
7472
+    /**
7473
+     * @param integer $rknum
7474
+     */
7466 7475
     private static function getIEEE754($rknum)
7467 7476
     {
7468 7477
         if (($rknum & 0x02) != 0) {
@@ -7493,7 +7502,7 @@  discard block
 block discarded – undo
7493 7502
      * Get UTF-8 string from (compressed or uncompressed) UTF-16 string
7494 7503
      *
7495 7504
      * @param string $string
7496
-     * @param bool $compressed
7505
+     * @param string|boolean $compressed
7497 7506
      * @return string
7498 7507
      */
7499 7508
     private static function encodeUTF16($string, $compressed = '')
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Excel5/Color.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
      *
10 10
      * @param int $color Indexed color
11 11
      * @param array $palette Color palette
12
+     * @param integer $version
12 13
      * @return array RGB color value, example: array('rgb' => 'FF0000')
13 14
      */
14 15
     public static function map($color, $palette, $version)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Excel5/MD5.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -190,6 +190,11 @@
 block discarded – undo
190 190
         return ($Y ^ ($X | (~ $Z))) ; // Y XOR (X OR NOT Z)
191 191
     }
192 192
 
193
+    /**
194
+     * @param string[] $func
195
+     * @param integer $s
196
+     * @param integer $t
197
+     */
193 198
     private static function step($func, &$A, $B, $C, $D, $M, $s, $t)
194 199
     {
195 200
         $A = ($A + call_user_func($func, $B, $C, $D) + $M + $t) & 0xffffffff;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Drawing.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * Convert pixels to EMU
34 34
      *
35 35
      * @param     int $pValue    Value in pixels
36
-     * @return     int            Value in EMU
36
+     * @return     double            Value in EMU
37 37
      */
38 38
     public static function pixelsToEMU($pValue = 0)
39 39
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * Convert pixels to points
115 115
      *
116 116
      * @param     int $pValue    Value in pixels
117
-     * @return     int            Value in points
117
+     * @return     double            Value in points
118 118
      */
119 119
     public static function pixelsToPoints($pValue = 0)
120 120
     {
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      * Create a new image from file. By alexander at alexauto dot nl
167 167
      *
168 168
      * @link http://www.php.net/manual/en/function.imagecreatefromwbmp.php#86214
169
-     * @param string $filename Path to Windows DIB (BMP) image
169
+     * @param string $p_sFile
170 170
      * @return resource
171 171
      */
172 172
     public static function imagecreatefrombmp($p_sFile)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     /**
207 207
      * Get the shape index
208 208
      *
209
-     * @return int
209
+     * @return boolean
210 210
      */
211 211
     public function getSpId()
212 212
     {
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      * Set an option for the Shape Group Container
218 218
      *
219 219
      * @param int $property The number specifies the option
220
-     * @param mixed $value
220
+     * @param integer $value
221 221
      */
222 222
     public function setOPT($property, $value)
223 223
     {
@@ -331,7 +331,6 @@  discard block
 block discarded – undo
331 331
     /**
332 332
      * Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width
333 333
      *
334
-     * @param int $startOffsetX
335 334
      */
336 335
     public function setEndOffsetX($endOffsetX = 0)
337 336
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
      *    Return the eigenvector matrix
817 817
      *
818 818
      *    @access public
819
-     *    @return V
819
+     *    @return Matrix
820 820
      */
821 821
     public function getV()
822 822
     {
@@ -849,7 +849,7 @@  discard block
 block discarded – undo
849 849
      *    Return the block diagonal eigenvalue matrix
850 850
      *
851 851
      *    @access public
852
-     *    @return D
852
+     *    @return Matrix
853 853
      */
854 854
     public function getD()
855 855
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      *    LU Decomposition constructor.
61 61
      *
62
-     *    @param $A Rectangular matrix
62
+     *    @param Matrix $A Rectangular matrix
63 63
      *    @return Structure to access L, U and piv.
64 64
      */
65 65
     public function __construct($A)
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     /**
126 126
      *    Get lower triangular factor.
127 127
      *
128
-     *    @return array Lower triangular factor
128
+     *    @return Matrix Lower triangular factor
129 129
      */
130 130
     public function getL()
131 131
     {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      *    Get upper triangular factor.
148 148
      *
149
-     *    @return array Upper triangular factor
149
+     *    @return Matrix Upper triangular factor
150 150
      */
151 151
     public function getU()
152 152
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      *    Is the matrix nonsingular?
187 187
      *
188
-     *    @return true if U, and hence A, is nonsingular.
188
+     *    @return boolean if U, and hence A, is nonsingular.
189 189
      */
190 190
     public function isNonsingular()
191 191
     {
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     /**
219 219
      *    Solve A*X = B
220 220
      *
221
-     *    @param  $B  A Matrix with as many rows as A and any number of columns.
221
+     *    @param  Matrix $B  A Matrix with as many rows as A and any number of columns.
222 222
      *    @return  X so that L*U*X = B(piv,:)
223 223
      *    @\PHPExcel\Calculation\Exception  IllegalArgumentException Matrix row dimensions must agree.
224 224
      *    @\PHPExcel\Calculation\Exception  RuntimeException  Matrix is singular.
Please login to merge, or discard this patch.