Completed
Pull Request — develop (#147)
by
unknown
71:27 queued 09:15
created
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -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/Worksheet/Row.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
45 45
     /**
46 46
      * Create a new row.
47 47
      *
48
-     * @param Worksheet $parent
49 48
      * @param int $rowIndex
50 49
      */
51 50
     public function __construct(Worksheet $worksheet = null, $rowIndex = 1)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Html.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1182,7 +1182,7 @@
 block discarded – undo
1182 1182
      * @param Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet
1183 1183
      * @param array $pValues Array containing cells in a row
1184 1184
      * @param int $pRow Row number (0-based)
1185
-     * @param mixed $cellType eg: 'td'
1185
+     * @param string $cellType eg: 'td'
1186 1186
      *
1187 1187
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
1188 1188
      *
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xls/Worksheet.php 1 patch
Doc Comments   +9 added lines, -7 removed lines patch added patch discarded remove patch
@@ -236,10 +236,12 @@  discard block
 block discarded – undo
236 236
      * @param int &$str_unique Total number of unique strings
237 237
      * @param array &$str_table String Table
238 238
      * @param array &$colors Colour Table
239
-     * @param mixed $parser The formula parser created for the Workbook
239
+     * @param Parser $parser The formula parser created for the Workbook
240 240
      * @param bool $preCalculateFormulas Flag indicating whether formulas should be calculated or just written
241 241
      * @param string $phpSheet The worksheet to write
242 242
      * @param Worksheet $phpSheet
243
+     * @param integer $str_total
244
+     * @param integer $str_unique
243 245
      */
244 246
     public function __construct(&$str_total, &$str_unique, &$str_table, &$colors, $parser, $preCalculateFormulas, $phpSheet)
245 247
     {
@@ -636,7 +638,7 @@  discard block
 block discarded – undo
636 638
      * @param int $row Zero indexed row
637 639
      * @param int $col Zero indexed column
638 640
      * @param float $num The number to write
639
-     * @param mixed $xfIndex The optional XF format
641
+     * @param integer $xfIndex The optional XF format
640 642
      *
641 643
      * @return int
642 644
      */
@@ -745,7 +747,7 @@  discard block
 block discarded – undo
745 747
      * @param int $row Zero indexed row
746 748
      * @param int $col Zero indexed column
747 749
      * @param string $str The string to write
748
-     * @param mixed $xfIndex The XF format index for the cell
750
+     * @param integer $xfIndex The XF format index for the cell
749 751
      *
750 752
      * @return int
751 753
      */
@@ -812,7 +814,7 @@  discard block
 block discarded – undo
812 814
      *
813 815
      * @param int $row Zero indexed row
814 816
      * @param int $col Zero indexed column
815
-     * @param mixed $xfIndex The XF format index
817
+     * @param integer $xfIndex The XF format index
816 818
      */
817 819
     public function writeBlank($row, $col, $xfIndex)
818 820
     {
@@ -859,7 +861,7 @@  discard block
 block discarded – undo
859 861
      * @param int $row Zero indexed row
860 862
      * @param int $col Zero indexed column
861 863
      * @param string $formula The formula text string
862
-     * @param mixed $xfIndex The XF format index
864
+     * @param integer $xfIndex The XF format index
863 865
      * @param mixed $calculatedValue Calculated value
864 866
      *
865 867
      * @return int
@@ -2339,8 +2341,8 @@  discard block
 block discarded – undo
2339 2341
      * @param mixed $bitmap The bitmap filename or GD-image resource
2340 2342
      * @param int $x the horizontal position (offset) of the image inside the cell
2341 2343
      * @param int $y the vertical position (offset) of the image inside the cell
2342
-     * @param float $scale_x The horizontal scale
2343
-     * @param float $scale_y The vertical scale
2344
+     * @param integer $scale_x The horizontal scale
2345
+     * @param integer $scale_y The vertical scale
2344 2346
      */
2345 2347
     public function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1)
2346 2348
     {
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
@@ -1068,7 +1068,6 @@
 block discarded – undo
1068 1068
      * @param \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter XML Writer
1069 1069
      * @param Worksheet $pSheet Worksheet
1070 1070
      * @param Cell $pCellAddress Cell Address
1071
-     * @param string[] $pStringTable String table
1072 1071
      * @param string[] $pFlippedStringTable String table (flipped), for faster index searching
1073 1072
      *
1074 1073
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
Please login to merge, or discard this patch.