Completed
Push — develop ( 942ad7...b0621f )
by Adrien
22:01 queued 09:22
created
src/PhpSpreadsheet/NamedRange.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
      * Resolve a named range to a regular cell range
227 227
      *
228 228
      * @param string $pNamedRange Named range
229
-     * @param Worksheet|null $pSheet Scope. Use null for global scope
229
+     * @param Worksheet $pSheet Scope. Use null for global scope
230 230
      * @return NamedRange
231 231
      */
232 232
     public static function resolveRange($pNamedRange, Worksheet $pSheet)
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/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.
src/PhpSpreadsheet/Shared/JAMA/Matrix.php 1 patch
Doc Comments   +2 added lines, -36 removed lines patch added patch discarded remove patch
@@ -149,11 +149,6 @@  discard block
 block discarded – undo
149 149
      *    getMatrix
150 150
      *
151 151
      *    Get a submatrix
152
-     *    @param int $i0 Initial row index
153
-     *    @param int $iF Final row index
154
-     *    @param int $j0 Initial column index
155
-     *    @param int $jF Final column index
156
-     *    @return Matrix Submatrix
157 152
      */
158 153
     public function getMatrix()
159 154
     {
@@ -351,7 +346,7 @@  discard block
 block discarded – undo
351 346
      *    Generate a diagonal matrix
352 347
      *    @param int $m Row dimension
353 348
      *    @param int $n Column dimension
354
-     *    @param mixed $c Diagonal value
349
+     *    @param integer $c Diagonal value
355 350
      *    @return Matrix Diagonal matrix
356 351
      */
357 352
     public function diagonal($m = null, $n = null, $c = 1)
@@ -388,9 +383,6 @@  discard block
 block discarded – undo
388 383
      *    getMatrixByCol
389 384
      *
390 385
      *    Get a submatrix by column index/range
391
-     *    @param int $i0 Initial column index
392
-     *    @param int $iF Final column index
393
-     *    @return Matrix Submatrix
394 386
      */
395 387
     public function getMatrixByCol($j0 = null, $jF = null)
396 388
     {
@@ -426,7 +418,7 @@  discard block
 block discarded – undo
426 418
      *    trace
427 419
      *
428 420
      *    Sum of diagonal elements
429
-     *    @return float Sum of diagonal elements
421
+     *    @return integer Sum of diagonal elements
430 422
      */
431 423
     public function trace()
432 424
     {
@@ -452,8 +444,6 @@  discard block
 block discarded – undo
452 444
      *    plus
453 445
      *
454 446
      *    A + B
455
-     *    @param mixed $B Matrix/Array
456
-     *    @return Matrix Sum
457 447
      */
458 448
     public function plus()
459 449
     {
@@ -492,8 +482,6 @@  discard block
 block discarded – undo
492 482
      *    plusEquals
493 483
      *
494 484
      *    A = A + B
495
-     *    @param mixed $B Matrix/Array
496
-     *    @return Matrix Sum
497 485
      */
498 486
     public function plusEquals()
499 487
     {
@@ -546,8 +534,6 @@  discard block
 block discarded – undo
546 534
      *    minus
547 535
      *
548 536
      *    A - B
549
-     *    @param mixed $B Matrix/Array
550
-     *    @return Matrix Sum
551 537
      */
552 538
     public function minus()
553 539
     {
@@ -586,8 +572,6 @@  discard block
 block discarded – undo
586 572
      *    minusEquals
587 573
      *
588 574
      *    A = A - B
589
-     *    @param mixed $B Matrix/Array
590
-     *    @return Matrix Sum
591 575
      */
592 576
     public function minusEquals()
593 577
     {
@@ -641,8 +625,6 @@  discard block
 block discarded – undo
641 625
      *
642 626
      *    Element-by-element multiplication
643 627
      *    Cij = Aij * Bij
644
-     *    @param mixed $B Matrix/Array
645
-     *    @return Matrix Matrix Cij
646 628
      */
647 629
     public function arrayTimes()
648 630
     {
@@ -682,8 +664,6 @@  discard block
 block discarded – undo
682 664
      *
683 665
      *    Element-by-element multiplication
684 666
      *    Aij = Aij * Bij
685
-     *    @param mixed $B Matrix/Array
686
-     *    @return Matrix Matrix Aij
687 667
      */
688 668
     public function arrayTimesEquals()
689 669
     {
@@ -737,8 +717,6 @@  discard block
 block discarded – undo
737 717
      *
738 718
      *    Element-by-element right division
739 719
      *    A / B
740
-     *    @param Matrix $B Matrix B
741
-     *    @return Matrix Division result
742 720
      */
743 721
     public function arrayRightDivide()
744 722
     {
@@ -798,8 +776,6 @@  discard block
 block discarded – undo
798 776
      *
799 777
      *    Element-by-element right division
800 778
      *    Aij = Aij / Bij
801
-     *    @param mixed $B Matrix/Array
802
-     *    @return Matrix Matrix Aij
803 779
      */
804 780
     public function arrayRightDivideEquals()
805 781
     {
@@ -840,8 +816,6 @@  discard block
 block discarded – undo
840 816
      *
841 817
      *    Element-by-element Left division
842 818
      *    A / B
843
-     *    @param Matrix $B Matrix B
844
-     *    @return Matrix Division result
845 819
      */
846 820
     public function arrayLeftDivide()
847 821
     {
@@ -882,8 +856,6 @@  discard block
 block discarded – undo
882 856
      *
883 857
      *    Element-by-element Left division
884 858
      *    Aij = Aij / Bij
885
-     *    @param mixed $B Matrix/Array
886
-     *    @return Matrix Matrix Aij
887 859
      */
888 860
     public function arrayLeftDivideEquals()
889 861
     {
@@ -923,8 +895,6 @@  discard block
 block discarded – undo
923 895
      *    times
924 896
      *
925 897
      *    Matrix multiplication
926
-     *    @param mixed $n Matrix/Array/Scalar
927
-     *    @return Matrix Product
928 898
      */
929 899
     public function times()
930 900
     {
@@ -1018,8 +988,6 @@  discard block
 block discarded – undo
1018 988
      *    power
1019 989
      *
1020 990
      *    A = A ^ B
1021
-     *    @param mixed $B Matrix/Array
1022
-     *    @return Matrix Sum
1023 991
      */
1024 992
     public function power()
1025 993
     {
@@ -1072,8 +1040,6 @@  discard block
 block discarded – undo
1072 1040
      *    concat
1073 1041
      *
1074 1042
      *    A = A & B
1075
-     *    @param mixed $B Matrix/Array
1076
-     *    @return Matrix Sum
1077 1043
      */
1078 1044
     public function concat()
1079 1045
     {
Please login to merge, or discard this patch.