Completed
Push — develop ( ea5663...b669d4 )
by Adrien
17:09
created
src/PhpSpreadsheet/Writer/Html.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1165,7 +1165,7 @@
 block discarded – undo
1165 1165
      * @param \PhpOffice\PhpSpreadsheet\Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet
1166 1166
      * @param array $pValues Array containing cells in a row
1167 1167
      * @param int $pRow Row number (0-based)
1168
-     * @param mixed $cellType
1168
+     * @param string $cellType
1169 1169
      *
1170 1170
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
1171 1171
      *
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xls/Parser.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
      *
506 506
      * @param mixed $token the token to convert
507 507
      *
508
-     * @return mixed the converted token on success
508
+     * @return string the converted token on success
509 509
      */
510 510
     private function convert($token)
511 511
     {
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
      *
577 577
      * @param string $string a string for conversion to its ptg value
578 578
      *
579
-     * @return mixed the converted token on success
579
+     * @return string the converted token on success
580 580
      */
581 581
     private function convertString($string)
582 582
     {
@@ -654,7 +654,7 @@  discard block
 block discarded – undo
654 654
      *
655 655
      * @param string $token an Excel range in the Sheet1!A1:A2 format
656 656
      *
657
-     * @return mixed the packed ptgArea3d token on success
657
+     * @return string the packed ptgArea3d token on success
658 658
      */
659 659
     private function convertRange3d($token)
660 660
     {
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
      *
707 707
      * @param string $cell An Excel cell reference
708 708
      *
709
-     * @return mixed the packed ptgRef3d token on success
709
+     * @return string the packed ptgRef3d token on success
710 710
      */
711 711
     private function convertRef3d($cell)
712 712
     {
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
      *
806 806
      * @param string $ext_ref The name of the external reference
807 807
      *
808
-     * @return mixed The reference index in packed() format on success
808
+     * @return string The reference index in packed() format on success
809 809
      */
810 810
     private function getRefIndex($ext_ref)
811 811
     {
@@ -896,7 +896,7 @@  discard block
 block discarded – undo
896 896
      *
897 897
      * @param string $cell The Excel cell reference to be packed
898 898
      *
899
-     * @return array Array containing the row and column in packed() format
899
+     * @return string[] Array containing the row and column in packed() format
900 900
      */
901 901
     private function cellToPackedRowcol($cell)
902 902
     {
@@ -925,7 +925,7 @@  discard block
 block discarded – undo
925 925
      *
926 926
      * @param string $range The Excel range to be packed
927 927
      *
928
-     * @return array Array containing (row1,col1,row2,col2) in packed() format
928
+     * @return string[] Array containing (row1,col1,row2,col2) in packed() format
929 929
      */
930 930
     private function rangeToPackedRange($range)
931 931
     {
@@ -1041,7 +1041,7 @@  discard block
 block discarded – undo
1041 1041
     /**
1042 1042
      * Checks if it's a valid token.
1043 1043
      *
1044
-     * @param mixed $token the token to check
1044
+     * @param string $token the token to check
1045 1045
      *
1046 1046
      * @return mixed The checked token or false on failure
1047 1047
      */
@@ -1127,7 +1127,7 @@  discard block
 block discarded – undo
1127 1127
      * @param string $formula the formula to parse, without the initial equal
1128 1128
      *                        sign (=)
1129 1129
      *
1130
-     * @return mixed true on success
1130
+     * @return boolean true on success
1131 1131
      */
1132 1132
     public function parse($formula)
1133 1133
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx/Chart.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -410,8 +410,8 @@  discard block
 block discarded – undo
410 410
      * @param string $id1
411 411
      * @param string $id2
412 412
      * @param bool $isMultiLevelSeries
413
-     * @param mixed $xAxis
414
-     * @param mixed $yAxis
413
+     * @param null|Axis $xAxis
414
+     * @param null|Axis $yAxis
415 415
      *
416 416
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
417 417
      */
@@ -533,10 +533,10 @@  discard block
 block discarded – undo
533 533
      * @param string $id1
534 534
      * @param string $id2
535 535
      * @param bool $isMultiLevelSeries
536
-     * @param mixed $xAxis
537
-     * @param mixed $yAxis
538
-     * @param mixed $majorGridlines
539
-     * @param mixed $minorGridlines
536
+     * @param null|Axis $xAxis
537
+     * @param null|Axis $yAxis
538
+     * @param null|GridLines $majorGridlines
539
+     * @param null|GridLines $minorGridlines
540 540
      *
541 541
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
542 542
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Chart/DataSeriesValues.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,10 +79,10 @@
 block discarded – undo
79 79
     /**
80 80
      * Create a new DataSeriesValues object.
81 81
      *
82
-     * @param mixed $dataType
82
+     * @param string $dataType
83 83
      * @param string $dataSource
84 84
      * @param null|mixed $formatCode
85
-     * @param mixed $pointCount
85
+     * @param integer $pointCount
86 86
      * @param mixed $dataValues
87 87
      * @param null|mixed $marker
88 88
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
      *
591 591
      * @throws Exception
592 592
      *
593
-     * @return false|Chart
593
+     * @return null|Chart
594 594
      */
595 595
     public function getChartByIndex($index = null)
596 596
     {
@@ -1153,7 +1153,7 @@  discard block
 block discarded – undo
1153 1153
      * Set a cell value.
1154 1154
      *
1155 1155
      * @param string $pCoordinate Coordinate of the cell
1156
-     * @param mixed $pValue Value of the cell
1156
+     * @param string $pValue Value of the cell
1157 1157
      * @param string $pDataType Explicit data type
1158 1158
      * @param bool $returnCell Return the worksheet (false, default) or the cell (true)
1159 1159
      *
@@ -1237,8 +1237,8 @@  discard block
 block discarded – undo
1237 1237
     /**
1238 1238
      * Get cell at a specific coordinate by using numeric cell coordinates.
1239 1239
      *
1240
-     * @param string $pColumn Numeric column coordinate of the cell
1241
-     * @param string $pRow Numeric row coordinate of the cell
1240
+     * @param integer $pColumn Numeric column coordinate of the cell
1241
+     * @param integer $pRow Numeric row coordinate of the cell
1242 1242
      * @param bool $createIfNotExists Flag indicating whether a new cell should be created if it doesn't
1243 1243
      *                                       already exist, or a null should be returned instead
1244 1244
      *
@@ -1348,8 +1348,8 @@  discard block
 block discarded – undo
1348 1348
     /**
1349 1349
      * Cell at a specific coordinate by using numeric cell coordinates exists?
1350 1350
      *
1351
-     * @param string $pColumn Numeric column coordinate of the cell
1352
-     * @param string $pRow Numeric row coordinate of the cell
1351
+     * @param integer $pColumn Numeric column coordinate of the cell
1352
+     * @param integer $pRow Numeric row coordinate of the cell
1353 1353
      *
1354 1354
      * @return bool
1355 1355
      */
@@ -1362,7 +1362,7 @@  discard block
 block discarded – undo
1362 1362
      * Get row dimension at a specific row.
1363 1363
      *
1364 1364
      * @param int $pRow Numeric index of the row
1365
-     * @param mixed $create
1365
+     * @param boolean $create
1366 1366
      *
1367 1367
      * @return Worksheet\RowDimension
1368 1368
      */
@@ -1388,7 +1388,7 @@  discard block
 block discarded – undo
1388 1388
      * Get column dimension at a specific column.
1389 1389
      *
1390 1390
      * @param string $pColumn String index of the column
1391
-     * @param mixed $create
1391
+     * @param boolean $create
1392 1392
      *
1393 1393
      * @return Worksheet\ColumnDimension
1394 1394
      */
@@ -1934,7 +1934,7 @@  discard block
 block discarded – undo
1934 1934
     /**
1935 1935
      * Set AutoFilter.
1936 1936
      *
1937
-     * @param Worksheet\AutoFilter|string $pValue
1937
+     * @param string $pValue
1938 1938
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1939 1939
      *
1940 1940
      * @throws Exception
@@ -2996,7 +2996,7 @@  discard block
 block discarded – undo
2996 2996
      *
2997 2997
      * @throws Exception
2998 2998
      *
2999
-     * @return objWorksheet
2999
+     * @return Worksheet
3000 3000
      */
3001 3001
     public function setCodeName($pValue = null)
3002 3002
     {
Please login to merge, or discard this patch.