Completed
Push — develop ( 67581a...75d3bd )
by Adrien
20:59
created
src/PhpSpreadsheet/NamedRange.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
      * Resolve a named range to a regular cell range.
235 235
      *
236 236
      * @param string $pNamedRange Named range
237
-     * @param Worksheet|null $pSheet Scope. Use null for global scope
237
+     * @param Worksheet $pSheet Scope. Use null for global scope
238 238
      *
239 239
      * @return NamedRange
240 240
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Gnumeric.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -804,6 +804,9 @@
 block discarded – undo
804 804
         return $styleArray;
805 805
     }
806 806
 
807
+    /**
808
+     * @param string $is
809
+     */
807 810
     private function parseRichText($is)
808 811
     {
809 812
         $value = new \PhpOffice\PhpSpreadsheet\RichText();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Slk.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@
 block discarded – undo
472 472
      *
473 473
      * @param int $pValue Sheet index
474 474
      *
475
-     * @return SYLK
475
+     * @return Slk
476 476
      */
477 477
     public function setSheetIndex($pValue)
478 478
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xml.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -230,6 +230,9 @@  discard block
 block discarded – undo
230 230
         return $this->loadIntoExisting($pFilename, $spreadsheet);
231 231
     }
232 232
 
233
+    /**
234
+     * @param string $styleAttributeValue
235
+     */
233 236
     protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue)
234 237
     {
235 238
         $styleAttributeValue = strtolower($styleAttributeValue);
@@ -761,6 +764,9 @@  discard block
 block discarded – undo
761 764
         return $spreadsheet;
762 765
     }
763 766
 
767
+    /**
768
+     * @param string $charset
769
+     */
764 770
     protected static function convertStringEncoding($string, $charset)
765 771
     {
766 772
         if ($charset != 'UTF-8') {
@@ -770,6 +776,9 @@  discard block
 block discarded – undo
770 776
         return $string;
771 777
     }
772 778
 
779
+    /**
780
+     * @param string $is
781
+     */
773 782
     protected function parseRichText($is)
774 783
     {
775 784
         $value = new \PhpOffice\PhpSpreadsheet\RichText();
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
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      *
32 32
      * @param int $pValue Value in pixels
33 33
      *
34
-     * @return int Value in EMU
34
+     * @return double Value in EMU
35 35
      */
36 36
     public static function pixelsToEMU($pValue)
37 37
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/JAMA/CholeskyDecomposition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      *    Class constructor - decomposes symmetric positive definite matrix
47 47
      *
48 48
      * @param mixed Matrix square symmetric positive definite matrix
49
-     * @param null|mixed $A
49
+     * @param Matrix $A
50 50
      */
51 51
     public function __construct(Matrix $A)
52 52
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Spreadsheet.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * set ribbon XML data.
219 219
      *
220 220
      * @param null|mixed $target
221
-     * @param null|mixed $xmlData
221
+     * @param string $xmlData
222 222
      */
223 223
     public function setRibbonXMLData($target, $xmlData)
224 224
     {
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
     /**
286 286
      * retrieve Binaries Ribbon Objects.
287 287
      *
288
-     * @param mixed $what
288
+     * @param string $what
289 289
      */
290 290
     public function getRibbonBinObjects($what = 'all')
291 291
     {
Please login to merge, or discard this patch.
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 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/Worksheet/PageSetup.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
     /**
472 472
      * Set Columns to repeat at left.
473 473
      *
474
-     * @param array $pValue Containing start column and end column, empty array if option unset
474
+     * @param string[] $pValue Containing start column and end column, empty array if option unset
475 475
      *
476 476
      * @return PageSetup
477 477
      */
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
     /**
527 527
      * Set Rows to repeat at top.
528 528
      *
529
-     * @param array $pValue Containing start column and end column, empty array if option unset
529
+     * @param string[] $pValue Containing start column and end column, empty array if option unset
530 530
      *
531 531
      * @return PageSetup
532 532
      */
Please login to merge, or discard this patch.