Completed
Push — develop ( ae1b85...f2838c )
by Adrien
07:40
created
src/PhpSpreadsheet/Cell.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -757,7 +757,7 @@
 block discarded – undo
757 757
      *    Calculate range boundaries
758 758
      *
759 759
      *    @param    string    $pRange        Cell range (e.g. A1:A1)
760
-     *    @return    array    Range coordinates array(Start Cell, End Cell)
760
+     *    @return    integer    Range coordinates array(Start Cell, End Cell)
761 761
      *                    where Start Cell and End Cell are arrays (Column ID, Row Number)
762 762
      */
763 763
     public static function getRangeBoundaries($pRange = 'A1:A1')
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Chart/Properties.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -136,6 +136,11 @@  discard block
 block discarded – undo
136 136
         return (string) 100 - $alpha . '000';
137 137
     }
138 138
 
139
+    /**
140
+     * @param string $color
141
+     * @param integer $alpha
142
+     * @param string $type
143
+     */
139 144
     protected function setColorProperties($color, $alpha, $type)
140 145
     {
141 146
         return [
@@ -145,6 +150,9 @@  discard block
 block discarded – undo
145 150
         ];
146 151
     }
147 152
 
153
+    /**
154
+     * @param string $array_kay_selector
155
+     */
148 156
     protected function getLineStyleArrowSize($array_selector, $array_kay_selector)
149 157
     {
150 158
         $sizes = [
@@ -162,6 +170,9 @@  discard block
 block discarded – undo
162 170
         return $sizes[$array_selector][$array_kay_selector];
163 171
     }
164 172
 
173
+    /**
174
+     * @param integer $shadow_presets_option
175
+     */
165 176
     protected function getShadowPresetsMap($shadow_presets_option)
166 177
     {
167 178
         $presets_options = [
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Excel2007/Chart.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -204,6 +204,9 @@
 block discarded – undo
204 204
         return $chart;
205 205
     }
206 206
 
207
+    /**
208
+     * @param string $type
209
+     */
207 210
     private static function chartTitle($titleDetails, $namespacesChartMeta, $type)
208 211
     {
209 212
         $caption = [];
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Excel5.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5157,7 +5157,7 @@  discard block
 block discarded – undo
5157 5157
      * is in one piece.
5158 5158
      * Moves to next current position in data stream to start of next record different from a CONtINUE record
5159 5159
      *
5160
-     * @return array
5160
+     * @return integer|null
5161 5161
      */
5162 5162
     private function getSplicedRecordData()
5163 5163
     {
@@ -5421,7 +5421,7 @@  discard block
 block discarded – undo
5421 5421
      * @param string $formulaData Formula data
5422 5422
      * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas
5423 5423
      * @throws Exception
5424
-     * @return array
5424
+     * @return string
5425 5425
      */
5426 5426
     private function getNextToken($formulaData, $baseCell = 'A1')
5427 5427
     {
@@ -6989,7 +6989,7 @@  discard block
 block discarded – undo
6989 6989
      * section 2.5.15
6990 6990
      *
6991 6991
      * @param string $subData
6992
-     * @return array
6992
+     * @return string
6993 6993
      */
6994 6994
     private function readBIFF8CellRangeAddressList($subData)
6995 6995
     {
@@ -7100,7 +7100,7 @@  discard block
 block discarded – undo
7100 7100
      * section 2.5.8
7101 7101
      *
7102 7102
      * @param string $arrayData
7103
-     * @return array
7103
+     * @return string
7104 7104
      */
7105 7105
     private static function readBIFF8ConstantArray($arrayData)
7106 7106
     {
@@ -7138,7 +7138,7 @@  discard block
 block discarded – undo
7138 7138
      * returns e.g. array('value' => '5', 'size' => 9)
7139 7139
      *
7140 7140
      * @param string $valueData
7141
-     * @return array
7141
+     * @return string
7142 7142
      */
7143 7143
     private static function readBIFF8Constant($valueData)
7144 7144
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Date.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Convert a MS serialized datetime value from Excel to a PHP Date/Time object
166 166
      *
167
-     * @param     int|float                      $excelTimestamp      MS Excel serialized date/time value
167
+     * @param     integer                      $excelTimestamp      MS Excel serialized date/time value
168 168
      * @param     \DateTimeZone|string|null          $timeZone            The timezone to assume for the Excel timestamp,
169 169
      *                                                                        if you don't want to treat it as a UTC value
170 170
      *                                                                    Use the default (UST) unless you absolutely need a conversion
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     /**
204 204
      * Convert a MS serialized datetime value from Excel to a unix timestamp
205 205
      *
206
-     * @param     int|float                      $excelTimestamp        MS Excel serialized date/time value
206
+     * @param     integer                      $excelTimestamp        MS Excel serialized date/time value
207 207
      * @param     \DateTimeZone|string|null          $timeZone            The timezone to assume for the Excel timestamp,
208 208
      *                                                                        if you don't want to treat it as a UTC value
209 209
      *                                                                    Use the default (UST) unless you absolutely need a conversion
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     /**
220 220
      *    Convert a date from PHP to an MS Excel serialized date/time value
221 221
      *
222
-     *    @param    mixed            $dateValue            Unix Timestamp or PHP DateTime object or a string
222
+     *    @param    integer            $dateValue            Unix Timestamp or PHP DateTime object or a string
223 223
      *    @return   float|bool    Excel date/time value
224 224
      *                                  or boolean FALSE on failure
225 225
      */
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      *    Convert a Unix timestamp to an MS Excel serialized date/time value
259 259
      *
260
-     *    @param    \DateTimeInterface    $dateValue       Unix Timestamp
260
+     *    @param    integer    $dateValue       Unix Timestamp
261 261
      *    @return   float                 MS Excel serialized date/time value
262 262
      */
263 263
     public static function timestampToExcel($dateValue = 0)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Drawing.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * Convert pixels to EMU
31 31
      *
32 32
      * @param     int $pValue    Value in pixels
33
-     * @return     int            Value in EMU
33
+     * @return     double            Value in EMU
34 34
      */
35 35
     public static function pixelsToEMU($pValue = 0)
36 36
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
     /**
221 221
      *    Solve A*X = B
222 222
      *
223
-     *    @param  $B  A Matrix with as many rows as A and any number of columns.
223
+     *    @param  Matrix $B  A Matrix with as many rows as A and any number of columns.
224 224
      *    @return  X so that L*U*X = B(piv,:)
225 225
      *    @\PhpSpreadsheet\Calculation\Exception  IllegalArgumentException Matrix row dimensions must agree.
226 226
      *    @\PhpSpreadsheet\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, -33 removed lines patch added patch discarded remove patch
@@ -146,11 +146,6 @@  discard block
 block discarded – undo
146 146
      *    getMatrix
147 147
      *
148 148
      *    Get a submatrix
149
-     *    @param int $i0 Initial row index
150
-     *    @param int $iF Final row index
151
-     *    @param int $j0 Initial column index
152
-     *    @param int $jF Final column index
153
-     *    @return Matrix Submatrix
154 149
      */
155 150
     public function getMatrix()
156 151
     {
@@ -354,7 +349,7 @@  discard block
 block discarded – undo
354 349
      *    Generate a diagonal matrix
355 350
      *    @param int $m Row dimension
356 351
      *    @param int $n Column dimension
357
-     *    @param mixed $c Diagonal value
352
+     *    @param integer $c Diagonal value
358 353
      *    @return Matrix Diagonal matrix
359 354
      */
360 355
     public function diagonal($m = null, $n = null, $c = 1)
@@ -431,7 +426,7 @@  discard block
 block discarded – undo
431 426
      *    trace
432 427
      *
433 428
      *    Sum of diagonal elements
434
-     *    @return float Sum of diagonal elements
429
+     *    @return integer Sum of diagonal elements
435 430
      */
436 431
     public function trace()
437 432
     {
@@ -458,8 +453,6 @@  discard block
 block discarded – undo
458 453
      *    plus
459 454
      *
460 455
      *    A + B
461
-     *    @param mixed $B Matrix/Array
462
-     *    @return Matrix Sum
463 456
      */
464 457
     public function plus()
465 458
     {
@@ -499,8 +492,6 @@  discard block
 block discarded – undo
499 492
      *    plusEquals
500 493
      *
501 494
      *    A = A + B
502
-     *    @param mixed $B Matrix/Array
503
-     *    @return Matrix Sum
504 495
      */
505 496
     public function plusEquals()
506 497
     {
@@ -554,8 +545,6 @@  discard block
 block discarded – undo
554 545
      *    minus
555 546
      *
556 547
      *    A - B
557
-     *    @param mixed $B Matrix/Array
558
-     *    @return Matrix Sum
559 548
      */
560 549
     public function minus()
561 550
     {
@@ -595,8 +584,6 @@  discard block
 block discarded – undo
595 584
      *    minusEquals
596 585
      *
597 586
      *    A = A - B
598
-     *    @param mixed $B Matrix/Array
599
-     *    @return Matrix Sum
600 587
      */
601 588
     public function minusEquals()
602 589
     {
@@ -651,8 +638,6 @@  discard block
 block discarded – undo
651 638
      *
652 639
      *    Element-by-element multiplication
653 640
      *    Cij = Aij * Bij
654
-     *    @param mixed $B Matrix/Array
655
-     *    @return Matrix Matrix Cij
656 641
      */
657 642
     public function arrayTimes()
658 643
     {
@@ -693,8 +678,6 @@  discard block
 block discarded – undo
693 678
      *
694 679
      *    Element-by-element multiplication
695 680
      *    Aij = Aij * Bij
696
-     *    @param mixed $B Matrix/Array
697
-     *    @return Matrix Matrix Aij
698 681
      */
699 682
     public function arrayTimesEquals()
700 683
     {
@@ -749,8 +732,6 @@  discard block
 block discarded – undo
749 732
      *
750 733
      *    Element-by-element right division
751 734
      *    A / B
752
-     *    @param Matrix $B Matrix B
753
-     *    @return Matrix Division result
754 735
      */
755 736
     public function arrayRightDivide()
756 737
     {
@@ -810,8 +791,6 @@  discard block
 block discarded – undo
810 791
      *
811 792
      *    Element-by-element right division
812 793
      *    Aij = Aij / Bij
813
-     *    @param mixed $B Matrix/Array
814
-     *    @return Matrix Matrix Aij
815 794
      */
816 795
     public function arrayRightDivideEquals()
817 796
     {
@@ -852,8 +831,6 @@  discard block
 block discarded – undo
852 831
      *
853 832
      *    Element-by-element Left division
854 833
      *    A / B
855
-     *    @param Matrix $B Matrix B
856
-     *    @return Matrix Division result
857 834
      */
858 835
     public function arrayLeftDivide()
859 836
     {
@@ -894,8 +871,6 @@  discard block
 block discarded – undo
894 871
      *
895 872
      *    Element-by-element Left division
896 873
      *    Aij = Aij / Bij
897
-     *    @param mixed $B Matrix/Array
898
-     *    @return Matrix Matrix Aij
899 874
      */
900 875
     public function arrayLeftDivideEquals()
901 876
     {
@@ -935,8 +910,6 @@  discard block
 block discarded – undo
935 910
      *    times
936 911
      *
937 912
      *    Matrix multiplication
938
-     *    @param mixed $n Matrix/Array/Scalar
939
-     *    @return Matrix Product
940 913
      */
941 914
     public function times()
942 915
     {
@@ -1036,8 +1009,6 @@  discard block
 block discarded – undo
1036 1009
      *    power
1037 1010
      *
1038 1011
      *    A = A ^ B
1039
-     *    @param mixed $B Matrix/Array
1040
-     *    @return Matrix Sum
1041 1012
      */
1042 1013
     public function power()
1043 1014
     {
@@ -1091,8 +1062,6 @@  discard block
 block discarded – undo
1091 1062
      *    concat
1092 1063
      *
1093 1064
      *    A = A & B
1094
-     *    @param mixed $B Matrix/Array
1095
-     *    @return Matrix Sum
1096 1065
      */
1097 1066
     public function concat()
1098 1067
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLE/PPS/Root.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * If a resource pointer to a stream created by fopen() is passed
56 56
      * it will be used, but you have to close such stream by yourself.
57 57
      *
58
-     * @param string|resource $filename The name of the file or stream where to save the OLE container.
58
+     * @param string|null $filename The name of the file or stream where to save the OLE container.
59 59
      * @throws \PhpSpreadsheet\Writer\Exception
60 60
      * @return bool true on success
61 61
      */
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * Calculate some numbers
118 118
      *
119 119
      * @param array $raList Reference to an array of PPS's
120
-     * @return float[] The array of numbers
120
+     * @return double[] The array of numbers
121 121
      */
122 122
     public function _calcSize(&$raList)
123 123
     {
Please login to merge, or discard this patch.