Completed
Push — develop ( 679184...cbeae0 )
by Adrien
14s
created
src/PhpSpreadsheet/Shared/PCLZip/PclZip.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -2215,6 +2215,10 @@  discard block
 block discarded – undo
2215 2215
     // Description :
2216 2216
     // Parameters :
2217 2217
     // --------------------------------------------------------------------------------
2218
+
2219
+    /**
2220
+     * @param string $p_mode
2221
+     */
2218 2222
     public function privOpenFd($p_mode)
2219 2223
     {
2220 2224
         $v_result = 1;
@@ -3815,6 +3819,10 @@  discard block
 block discarded – undo
3815 3819
     // Parameters :
3816 3820
     // Return Values :
3817 3821
     // --------------------------------------------------------------------------------
3822
+
3823
+    /**
3824
+     * @param string $p_string
3825
+     */
3818 3826
     public function privExtractFileAsString(&$p_entry, &$p_string, &$p_options)
3819 3827
     {
3820 3828
         $v_result = 1;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Trend/BestFit.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -316,6 +316,10 @@
 block discarded – undo
316 316
         return $this->yBestFitValues;
317 317
     }
318 318
 
319
+    /**
320
+     * @param double $sumY2
321
+     * @param boolean $const
322
+     */
319 323
     protected function calculateGoodnessOfFit($sumX, $sumY, $sumX2, $sumY2, $sumXY, $meanX, $meanY, $const)
320 324
     {
321 325
         $SSres = $SScov = $SScor = $SStot = $SSsex = 0.0;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/ZipArchive.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      * Find if given fileName exist in archive (Emulate ZipArchive locateName())
99 99
      *
100 100
      * @param        string        $fileName        Filename for the file in zip archive
101
-     * @return        bool
101
+     * @return        integer
102 102
      */
103 103
     public function locateName($fileName)
104 104
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/ZipStreamWrapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
      *
167 167
      * @param    int        $offset    byte offset
168 168
      * @param    int        $whence    SEEK_SET, SEEK_CUR or SEEK_END
169
-     * @return    bool
169
+     * @return    boolean|null
170 170
      */
171 171
     public function stream_seek($offset, $whence) // @codingStandardsIgnoreLine
172 172
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     /**
148 148
      * Get parent. Only used for style supervisor
149 149
      *
150
-     * @return Spreadsheet
150
+     * @return Style
151 151
      */
152 152
     public function getParent()
153 153
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -584,7 +584,7 @@  discard block
 block discarded – undo
584 584
      *
585 585
      * @param string $index Chart index position
586 586
      * @throws Exception
587
-     * @return false|Chart
587
+     * @return null|Chart
588 588
      */
589 589
     public function getChartByIndex($index = null)
590 590
     {
@@ -1085,7 +1085,7 @@  discard block
 block discarded – undo
1085 1085
      * Set a cell value
1086 1086
      *
1087 1087
      * @param string $pCoordinate Coordinate of the cell
1088
-     * @param mixed $pValue Value of the cell
1088
+     * @param integer $pValue Value of the cell
1089 1089
      * @param bool $returnCell   Return the worksheet (false, default) or the cell (true)
1090 1090
      * @return Worksheet|Cell    Depending on the last parameter being specified
1091 1091
      */
@@ -1196,8 +1196,8 @@  discard block
 block discarded – undo
1196 1196
     /**
1197 1197
      * Get cell at a specific coordinate by using numeric cell coordinates
1198 1198
      *
1199
-     * @param  string $pColumn Numeric column coordinate of the cell
1200
-     * @param string $pRow Numeric row coordinate of the cell
1199
+     * @param  integer $pColumn Numeric column coordinate of the cell
1200
+     * @param integer $pRow Numeric row coordinate of the cell
1201 1201
      * @param bool $createIfNotExists  Flag indicating whether a new cell should be created if it doesn't
1202 1202
      *                                       already exist, or a null should be returned instead
1203 1203
      * @return null|Cell Cell that was found/created or null
@@ -1305,8 +1305,8 @@  discard block
 block discarded – undo
1305 1305
     /**
1306 1306
      * Cell at a specific coordinate by using numeric cell coordinates exists?
1307 1307
      *
1308
-     * @param string $pColumn Numeric column coordinate of the cell
1309
-     * @param string $pRow Numeric row coordinate of the cell
1308
+     * @param integer $pColumn Numeric column coordinate of the cell
1309
+     * @param integer $pRow Numeric row coordinate of the cell
1310 1310
      * @return bool
1311 1311
      */
1312 1312
     public function cellExistsByColumnAndRow($pColumn = 0, $pRow = 1)
@@ -1923,7 +1923,7 @@  discard block
 block discarded – undo
1923 1923
     /**
1924 1924
      *    Set AutoFilter
1925 1925
      *
1926
-     *    @param    Worksheet\AutoFilter|string   $pValue
1926
+     *    @param    string   $pValue
1927 1927
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1928 1928
      *    @throws Exception
1929 1929
      *    @return Worksheet
@@ -2954,7 +2954,7 @@  discard block
 block discarded – undo
2954 2954
      *
2955 2955
      * @param null|string Same rule as Title minus space not allowed (but, like Excel, change silently space to underscore)
2956 2956
      * @throws Exception
2957
-     * @return objWorksheet
2957
+     * @return Worksheet
2958 2958
      */
2959 2959
     public function setCodeName($pValue = null)
2960 2960
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/AutoFilter.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -567,6 +567,11 @@
 block discarded – undo
567 567
         return ['method' => 'filterTestInCustomDataSet', 'arguments' => ['filterRules' => $ruleValues, 'join' => AutoFilter\Column::AUTOFILTER_COLUMN_JOIN_AND]];
568 568
     }
569 569
 
570
+    /**
571
+     * @param integer $columnID
572
+     * @param integer $startRow
573
+     * @param string $ruleType
574
+     */
570 575
     private function calculateTopTenValue($columnID, $startRow, $endRow, $ruleType, $ruleValue)
571 576
     {
572 577
         $range = $columnID . $startRow . ':' . $columnID . $endRow;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/ColumnDimension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     /**
102 102
      * Set Row Height
103 103
      *
104
-     * @param float $pValue
104
+     * @param integer $pValue
105 105
      * @return RowDimension
106 106
      */
107 107
     public function setRowHeight($pValue = -1)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Excel2007/Chart.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -412,6 +412,8 @@  discard block
 block discarded – undo
412 412
      * @param  string $id1
413 413
      * @param  string $id2
414 414
      * @param  bool $isMultiLevelSeries
415
+     * @param null|Axis $xAxis
416
+     * @param null|Axis $yAxis
415 417
      *
416 418
      * @throws  \PhpSpreadsheet\Writer\Exception
417 419
      */
@@ -534,6 +536,10 @@  discard block
 block discarded – undo
534 536
      * @param  string $id1
535 537
      * @param  string $id2
536 538
      * @param  bool $isMultiLevelSeries
539
+     * @param null|Axis $xAxis
540
+     * @param null|Axis $yAxis
541
+     * @param null|GridLines $majorGridlines
542
+     * @param null|GridLines $minorGridlines
537 543
      *
538 544
      * @throws  \PhpSpreadsheet\Writer\Exception
539 545
      */
Please login to merge, or discard this patch.