Completed
Pull Request — develop (#147)
by
unknown
07:07
created
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +8 added lines, -9 removed lines patch added patch discarded remove patch
@@ -580,7 +580,7 @@  discard block
 block discarded – undo
580 580
      *
581 581
      * @throws Exception
582 582
      *
583
-     * @return false|Chart
583
+     * @return Writer\Xlsx\Chart
584 584
      */
585 585
     public function getChartByIndex($index)
586 586
     {
@@ -1089,7 +1089,7 @@  discard block
 block discarded – undo
1089 1089
      * @param string $column Return the highest data row for the specified column,
1090 1090
      *                                     or the highest data row of any column if no column letter is passed
1091 1091
      *
1092
-     * @return string Highest row number that contains data
1092
+     * @return integer Highest row number that contains data
1093 1093
      */
1094 1094
     public function getHighestDataRow($column = null)
1095 1095
     {
@@ -1141,7 +1141,7 @@  discard block
 block discarded – undo
1141 1141
      * Set a cell value.
1142 1142
      *
1143 1143
      * @param string $pCoordinate Coordinate of the cell, eg: 'A1'
1144
-     * @param mixed $pValue Value of the cell
1144
+     * @param string $pValue Value of the cell
1145 1145
      * @param string $pDataType Explicit data type, see Cell\DataType::TYPE_*
1146 1146
      *
1147 1147
      * @return Worksheet
@@ -1161,7 +1161,6 @@  discard block
 block discarded – undo
1161 1161
      * @param int $pRow Numeric row coordinate of the cell
1162 1162
      * @param mixed $pValue Value of the cell
1163 1163
      * @param string $pDataType Explicit data type, see Cell\DataType::TYPE_*
1164
-     * @param bool $returnCell Return the worksheet (false, default) or the cell (true)
1165 1164
      *
1166 1165
      * @return Worksheet
1167 1166
      */
@@ -1347,7 +1346,7 @@  discard block
 block discarded – undo
1347 1346
      * Get row dimension at a specific row.
1348 1347
      *
1349 1348
      * @param int $pRow Numeric index of the row
1350
-     * @param mixed $create
1349
+     * @param boolean $create
1351 1350
      *
1352 1351
      * @return Worksheet\RowDimension
1353 1352
      */
@@ -1373,7 +1372,7 @@  discard block
 block discarded – undo
1373 1372
      * Get column dimension at a specific column.
1374 1373
      *
1375 1374
      * @param string $pColumn String index of the column eg: 'A'
1376
-     * @param mixed $create
1375
+     * @param boolean $create
1377 1376
      *
1378 1377
      * @return Worksheet\ColumnDimension
1379 1378
      */
@@ -1919,7 +1918,7 @@  discard block
 block discarded – undo
1919 1918
     /**
1920 1919
      * Set AutoFilter.
1921 1920
      *
1922
-     * @param Worksheet\AutoFilter|string $pValue
1921
+     * @param string $pValue
1923 1922
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1924 1923
      *
1925 1924
      * @throws Exception
@@ -2977,11 +2976,11 @@  discard block
 block discarded – undo
2977 2976
      * Define the code name of the sheet.
2978 2977
      *
2979 2978
      * @param null|string Same rule as Title minus space not allowed (but, like Excel, change silently space to underscore)
2980
-     * @param null|mixed $pValue
2979
+     * @param string $pValue
2981 2980
      *
2982 2981
      * @throws Exception
2983 2982
      *
2984
-     * @return objWorksheet
2983
+     * @return Worksheet
2985 2984
      */
2986 2985
     public function setCodeName($pValue)
2987 2986
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx/Chart.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
      * Write Data Labels.
355 355
      *
356 356
      * @param \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter XML Writer
357
-     * @param Chart\Layout $chartLayout Chart layout
357
+     * @param Layout $chartLayout Chart layout
358 358
      *
359 359
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
360 360
      */
@@ -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/Writer/Xlsx/Worksheet.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -1066,7 +1066,6 @@
 block discarded – undo
1066 1066
      * @param \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter XML Writer
1067 1067
      * @param \PhpOffice\PhpSpreadsheet\Worksheet $pSheet Worksheet
1068 1068
      * @param Cell $pCellAddress Cell Address
1069
-     * @param string[] $pStringTable String table
1070 1069
      * @param string[] $pFlippedStringTable String table (flipped), for faster index searching
1071 1070
      *
1072 1071
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
Please login to merge, or discard this patch.