Completed
Pull Request — develop (#186)
by Adrien
22:03 queued 04:09
created
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +7 added lines, -8 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 Chart
584 584
      */
585 585
     public function getChartByIndex($index)
586 586
     {
@@ -1091,7 +1091,7 @@  discard block
 block discarded – undo
1091 1091
      * @param string $column Return the highest data row for the specified column,
1092 1092
      *                                     or the highest data row of any column if no column letter is passed
1093 1093
      *
1094
-     * @return string Highest row number that contains data
1094
+     * @return integer Highest row number that contains data
1095 1095
      */
1096 1096
     public function getHighestDataRow($column = null)
1097 1097
     {
@@ -1143,7 +1143,7 @@  discard block
 block discarded – undo
1143 1143
      * Set a cell value.
1144 1144
      *
1145 1145
      * @param string $pCoordinate Coordinate of the cell, eg: 'A1'
1146
-     * @param mixed $pValue Value of the cell
1146
+     * @param string $pValue Value of the cell
1147 1147
      * @param string $pDataType Explicit data type, see Cell\DataType::TYPE_*
1148 1148
      *
1149 1149
      * @return Worksheet
@@ -1163,7 +1163,6 @@  discard block
 block discarded – undo
1163 1163
      * @param int $pRow Numeric row coordinate of the cell
1164 1164
      * @param mixed $pValue Value of the cell
1165 1165
      * @param string $pDataType Explicit data type, see Cell\DataType::TYPE_*
1166
-     * @param bool $returnCell Return the worksheet (false, default) or the cell (true)
1167 1166
      *
1168 1167
      * @return Worksheet
1169 1168
      */
@@ -1349,7 +1348,7 @@  discard block
 block discarded – undo
1349 1348
      * Get row dimension at a specific row.
1350 1349
      *
1351 1350
      * @param int $pRow Numeric index of the row
1352
-     * @param mixed $create
1351
+     * @param boolean $create
1353 1352
      *
1354 1353
      * @return Worksheet\RowDimension
1355 1354
      */
@@ -1375,7 +1374,7 @@  discard block
 block discarded – undo
1375 1374
      * Get column dimension at a specific column.
1376 1375
      *
1377 1376
      * @param string $pColumn String index of the column eg: 'A'
1378
-     * @param mixed $create
1377
+     * @param boolean $create
1379 1378
      *
1380 1379
      * @return Worksheet\ColumnDimension
1381 1380
      */
@@ -1921,7 +1920,7 @@  discard block
 block discarded – undo
1921 1920
     /**
1922 1921
      * Set AutoFilter.
1923 1922
      *
1924
-     * @param Worksheet\AutoFilter|string $pValue
1923
+     * @param string $pValue
1925 1924
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1926 1925
      *
1927 1926
      * @throws Exception
@@ -2985,7 +2984,7 @@  discard block
 block discarded – undo
2985 2984
      *
2986 2985
      * @throws Exception
2987 2986
      *
2988
-     * @return objWorksheet
2987
+     * @return Worksheet
2989 2988
      */
2990 2989
     public function setCodeName($pValue, $validate = true)
2991 2990
     {
Please login to merge, or discard this patch.