Completed
Push — develop ( 152d39...682b1b )
by Adrien
20:39 queued 03:17
created
src/PhpSpreadsheet/Shared/OLERead.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     /**
70 70
      * Read the file
71 71
      *
72
-     * @param $pFilename string Filename
72
+     * @param string $pFilename string Filename
73 73
      * @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
74 74
      */
75 75
     public function read($pFilename)
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
@@ -80,9 +80,9 @@
 block discarded – undo
80 80
      * Create a new DataSeriesValues object.
81 81
      *
82 82
      * @param string $dataSource
83
-     * @param mixed $dataType
83
+     * @param string $dataType
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/Chart/PlotArea.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Get Number of Plot Groups.
66 66
      *
67
-     * @return array of DataSeries
67
+     * @return integer of DataSeries
68 68
      */
69 69
     public function getPlotGroupCount()
70 70
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xlsx/Theme.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Create a new Theme.
59 59
      *
60
-     * @param mixed $themeName
61
-     * @param mixed $colourSchemeName
60
+     * @param string $themeName
61
+     * @param string $colourSchemeName
62 62
      * @param mixed $colourMap
63 63
      */
64 64
     public function __construct($themeName, $colourSchemeName, $colourMap)
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     /**
93 93
      * Get colour Map Value by Position.
94 94
      *
95
-     * @param mixed $index
95
+     * @param integer $index
96 96
      *
97 97
      * @return string
98 98
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLE/PPS/Root.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * If a resource pointer to a stream created by fopen() is passed
57 57
      * it will be used, but you have to close such stream by yourself.
58 58
      *
59
-     * @param string|resource $filename the name of the file or stream where to save the OLE container
59
+     * @param string|null $filename the name of the file or stream where to save the OLE container
60 60
      *
61 61
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
62 62
      *
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @param array $raList Reference to an array of PPS's
123 123
      *
124
-     * @return float[] The array of numbers
124
+     * @return double[] The array of numbers
125 125
      */
126 126
     public function _calcSize(&$raList)
127 127
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/PCLZip/PclZip.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -1367,6 +1367,10 @@  discard block
 block discarded – undo
1367 1367
     //     1 on success.
1368 1368
     //     0 on failure.
1369 1369
     // --------------------------------------------------------------------------------
1370
+
1371
+    /**
1372
+     * @param integer $p_size
1373
+     */
1370 1374
     public function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options = false)
1371 1375
     {
1372 1376
         $v_result = 1;
@@ -2218,6 +2222,10 @@  discard block
 block discarded – undo
2218 2222
     // Description :
2219 2223
     // Parameters :
2220 2224
     // --------------------------------------------------------------------------------
2225
+
2226
+    /**
2227
+     * @param string $p_mode
2228
+     */
2221 2229
     public function privOpenFd($p_mode)
2222 2230
     {
2223 2231
         $v_result = 1;
@@ -3831,6 +3839,10 @@  discard block
 block discarded – undo
3831 3839
     // Parameters :
3832 3840
     // Return Values :
3833 3841
     // --------------------------------------------------------------------------------
3842
+
3843
+    /**
3844
+     * @param string $p_string
3845
+     */
3834 3846
     public function privExtractFileAsString(&$p_entry, &$p_string, &$p_options)
3835 3847
     {
3836 3848
         $v_result = 1;
Please login to merge, or discard this patch.
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
     {
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
      *
575 575
      * @param string $string a string for conversion to its ptg value
576 576
      *
577
-     * @return mixed the converted token on success
577
+     * @return string the converted token on success
578 578
      */
579 579
     private function convertString($string)
580 580
     {
@@ -652,7 +652,7 @@  discard block
 block discarded – undo
652 652
      *
653 653
      * @param string $token an Excel range in the Sheet1!A1:A2 format
654 654
      *
655
-     * @return mixed the packed ptgArea3d token on success
655
+     * @return string the packed ptgArea3d token on success
656 656
      */
657 657
     private function convertRange3d($token)
658 658
     {
@@ -704,7 +704,7 @@  discard block
 block discarded – undo
704 704
      *
705 705
      * @param string $cell An Excel cell reference
706 706
      *
707
-     * @return mixed the packed ptgRef3d token on success
707
+     * @return string the packed ptgRef3d token on success
708 708
      */
709 709
     private function convertRef3d($cell)
710 710
     {
@@ -803,7 +803,7 @@  discard block
 block discarded – undo
803 803
      *
804 804
      * @param string $ext_ref The name of the external reference
805 805
      *
806
-     * @return mixed The reference index in packed() format on success
806
+     * @return string The reference index in packed() format on success
807 807
      */
808 808
     private function getRefIndex($ext_ref)
809 809
     {
@@ -894,7 +894,7 @@  discard block
 block discarded – undo
894 894
      *
895 895
      * @param string $cell The Excel cell reference to be packed
896 896
      *
897
-     * @return array Array containing the row and column in packed() format
897
+     * @return string[] Array containing the row and column in packed() format
898 898
      */
899 899
     private function cellToPackedRowcol($cell)
900 900
     {
@@ -923,7 +923,7 @@  discard block
 block discarded – undo
923 923
      *
924 924
      * @param string $range The Excel range to be packed
925 925
      *
926
-     * @return array Array containing (row1,col1,row2,col2) in packed() format
926
+     * @return string[] Array containing (row1,col1,row2,col2) in packed() format
927 927
      */
928 928
     private function rangeToPackedRange($range)
929 929
     {
@@ -1039,7 +1039,7 @@  discard block
 block discarded – undo
1039 1039
     /**
1040 1040
      * Checks if it's a valid token.
1041 1041
      *
1042
-     * @param mixed $token the token to check
1042
+     * @param string $token the token to check
1043 1043
      *
1044 1044
      * @return mixed       The checked token or false on failure
1045 1045
      */
@@ -1125,7 +1125,7 @@  discard block
 block discarded – undo
1125 1125
      * @param string $formula the formula to parse, without the initial equal
1126 1126
      *                        sign (=)
1127 1127
      *
1128
-     * @return mixed true on success
1128
+     * @return boolean true on success
1129 1129
      */
1130 1130
     public function parse($formula)
1131 1131
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx/Chart.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -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/Shared/JAMA/EigenvalueDecomposition.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -778,7 +778,7 @@
 block discarded – undo
778 778
         }
779 779
     }
780 780
 
781
- // end hqr2
781
+    // end hqr2
782 782
 
783 783
     /**
784 784
      *    Constructor: Check for symmetry, then construct the eigenvalue decomposition.
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -819,7 +819,7 @@  discard block
 block discarded – undo
819 819
     /**
820 820
      * Return the eigenvector matrix.
821 821
      *
822
-     * @return V
822
+     * @return Matrix
823 823
      */
824 824
     public function getV()
825 825
     {
@@ -849,7 +849,7 @@  discard block
 block discarded – undo
849 849
     /**
850 850
      * Return the block diagonal eigenvalue matrix.
851 851
      *
852
-     * @return D
852
+     * @return Matrix
853 853
      */
854 854
     public function getD()
855 855
     {
Please login to merge, or discard this patch.