Completed
Pull Request — develop (#186)
by Adrien
22:03 queued 04:09
created
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/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/Collection/Cells.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
     /**
159 159
      * Get a list of all cell coordinates currently held in the collection.
160 160
      *
161
-     * @return string[]
161
+     * @return integer[]
162 162
      */
163 163
     public function getCoordinates()
164 164
     {
Please login to merge, or discard this patch.
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/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/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/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.