Completed
Push — develop ( 19fd27...90366f )
by
unknown
21:52
created
src/PhpSpreadsheet/Calculation/Statistical.php 1 patch
Doc Comments   +8 added lines, -13 removed lines patch added patch discarded remove patch
@@ -114,8 +114,8 @@  discard block
 block discarded – undo
114 114
      * @author Jaco van Kooten
115 115
      *
116 116
      * @param mixed $x
117
-     * @param mixed $p
118
-     * @param mixed $q
117
+     * @param double $p
118
+     * @param double $q
119 119
      */
120 120
     private static function betaFraction($x, $p, $q)
121 121
     {
@@ -717,8 +717,8 @@  discard block
 block discarded – undo
717 717
      * @param float $value Value at which you want to evaluate the distribution
718 718
      * @param float $alpha Parameter to the distribution
719 719
      * @param float $beta Parameter to the distribution
720
-     * @param mixed $rMin
721
-     * @param mixed $rMax
720
+     * @param integer $rMin
721
+     * @param integer $rMax
722 722
      *
723 723
      * @return float
724 724
      */
@@ -756,8 +756,8 @@  discard block
 block discarded – undo
756 756
      * @param float $probability Probability at which you want to evaluate the distribution
757 757
      * @param float $alpha Parameter to the distribution
758 758
      * @param float $beta Parameter to the distribution
759
-     * @param float $rMin Minimum value
760
-     * @param float $rMax Maximum value
759
+     * @param integer $rMin Minimum value
760
+     * @param integer $rMax Maximum value
761 761
      *
762 762
      * @return float
763 763
      */
@@ -1823,7 +1823,6 @@  discard block
 block discarded – undo
1823 1823
      * @category Statistical Functions
1824 1824
      *
1825 1825
      * @param mixed $args Data values
1826
-     * @param int $entry Position (ordered from the largest) in the array or range of data to return
1827 1826
      *
1828 1827
      * @return float
1829 1828
      */
@@ -2554,7 +2553,6 @@  discard block
 block discarded – undo
2554 2553
      * @category Statistical Functions
2555 2554
      *
2556 2555
      * @param mixed $args Data values
2557
-     * @param float $entry Percentile value in the range 0..1, inclusive.
2558 2556
      *
2559 2557
      * @return float
2560 2558
      */
@@ -2605,7 +2603,7 @@  discard block
 block discarded – undo
2605 2603
      * @param number the number of significant digits for the returned percentage value
2606 2604
      * @param mixed $valueSet
2607 2605
      * @param mixed $value
2608
-     * @param mixed $significance
2606
+     * @param integer $significance
2609 2607
      *
2610 2608
      * @return float
2611 2609
      */
@@ -2726,7 +2724,6 @@  discard block
 block discarded – undo
2726 2724
      * @category Statistical Functions
2727 2725
      *
2728 2726
      * @param mixed $args Data values
2729
-     * @param int $entry Quartile value in the range 1..3, inclusive.
2730 2727
      *
2731 2728
      * @return float
2732 2729
      */
@@ -2759,7 +2756,7 @@  discard block
 block discarded – undo
2759 2756
      * @param mixed Order to sort the values in the value set
2760 2757
      * @param mixed $value
2761 2758
      * @param mixed $valueSet
2762
-     * @param mixed $order
2759
+     * @param integer $order
2763 2760
      *
2764 2761
      * @return float
2765 2762
      */
@@ -2901,7 +2898,6 @@  discard block
 block discarded – undo
2901 2898
      * @category Statistical Functions
2902 2899
      *
2903 2900
      * @param mixed $args Data values
2904
-     * @param int $entry Position (ordered from the smallest) in the array or range of data to return
2905 2901
      *
2906 2902
      * @return float
2907 2903
      */
@@ -3365,7 +3361,6 @@  discard block
 block discarded – undo
3365 3361
      * @category Statistical Functions
3366 3362
      *
3367 3363
      * @param mixed $args Data values
3368
-     * @param float $discard Percentage to discard
3369 3364
      *
3370 3365
      * @return float
3371 3366
      */
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
@@ -236,6 +236,9 @@  discard block
 block discarded – undo
236 236
         return $this->loadIntoExisting($pFilename, $spreadsheet);
237 237
     }
238 238
 
239
+    /**
240
+     * @param string $styleAttributeValue
241
+     */
239 242
     private static function identifyFixedStyleValue($styleList, &$styleAttributeValue)
240 243
     {
241 244
         $styleAttributeValue = strtolower($styleAttributeValue);
@@ -811,6 +814,9 @@  discard block
 block discarded – undo
811 814
         return $spreadsheet;
812 815
     }
813 816
 
817
+    /**
818
+     * @param string $charset
819
+     */
814 820
     protected static function convertStringEncoding($string, $charset)
815 821
     {
816 822
         if ($charset != 'UTF-8') {
@@ -820,6 +826,9 @@  discard block
 block discarded – undo
820 826
         return $string;
821 827
     }
822 828
 
829
+    /**
830
+     * @param string $is
831
+     */
823 832
     protected function parseRichText($is)
824 833
     {
825 834
         $value = new RichText();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLE.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -536,7 +536,7 @@
 block discarded – undo
536 536
      *
537 537
      * @param int $string A binary string with the encoded date
538 538
      *
539
-     * @return string The timestamp corresponding to the string
539
+     * @return double The timestamp corresponding to the string
540 540
      */
541 541
     public static function OLE2LocalDate($string)
542 542
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Calculation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2664,7 +2664,7 @@  discard block
 block discarded – undo
2664 2664
 
2665 2665
     /**
2666 2666
      * @param string $cellReference
2667
-     * @param mixed $cellValue
2667
+     * @param boolean $cellValue
2668 2668
      */
2669 2669
     public function saveValueToCache($cellReference, $cellValue)
2670 2670
     {
@@ -2789,7 +2789,7 @@  discard block
 block discarded – undo
2789 2789
      *
2790 2790
      * @param mixed &$matrix matrix operand
2791 2791
      *
2792
-     * @return int[] An array comprising the number of rows, and number of columns
2792
+     * @return integer[] An array comprising the number of rows, and number of columns
2793 2793
      */
2794 2794
     private static function getMatrixDimensions(&$matrix)
2795 2795
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Chart/Renderer/JpGraph.php 1 patch
Doc Comments   +63 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@  discard block
 block discarded – undo
76 76
         $loaded = true;
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $markerID
81
+     */
79 82
     private function formatPointMarker($seriesPlot, $markerID)
80 83
     {
81 84
         $plotMarkKeys = array_keys(self::$markSet);
@@ -103,6 +106,9 @@  discard block
 block discarded – undo
103 106
         return $seriesPlot;
104 107
     }
105 108
 
109
+    /**
110
+     * @param integer $labelCount
111
+     */
106 112
     private function formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation = '')
107 113
     {
108 114
         $datasetLabelFormatCode = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getFormatCode();
@@ -132,6 +138,9 @@  discard block
 block discarded – undo
132 138
         return $datasetLabels;
133 139
     }
134 140
 
141
+    /**
142
+     * @param integer $seriesCount
143
+     */
135 144
     private function percentageSumCalculation($groupID, $seriesCount)
136 145
     {
137 146
         //    Adjust our values to a percentage value across all series in the group
@@ -162,6 +171,9 @@  discard block
 block discarded – undo
162 171
         return $dataValues;
163 172
     }
164 173
 
174
+    /**
175
+     * @param \PhpOffice\PhpSpreadsheet\Chart\Title $captionElement
176
+     */
165 177
     private function getCaption($captionElement)
166 178
     {
167 179
         //    Read any caption
@@ -271,6 +283,9 @@  discard block
 block discarded – undo
271 283
         $this->renderTitle();
272 284
     }
273 285
 
286
+    /**
287
+     * @param integer $groupID
288
+     */
274 289
     private function renderPlotLine($groupID, $filled = false, $combination = false, $dimensions = '2d')
275 290
     {
276 291
         $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping();
@@ -334,6 +349,9 @@  discard block
 block discarded – undo
334 349
         $this->graph->Add($groupPlot);
335 350
     }
336 351
 
352
+    /**
353
+     * @param integer $groupID
354
+     */
337 355
     private function renderPlotBar($groupID, $dimensions = '2d')
338 356
     {
339 357
         $rotation = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotDirection();
@@ -418,6 +436,10 @@  discard block
 block discarded – undo
418 436
         $this->graph->Add($groupPlot);
419 437
     }
420 438
 
439
+    /**
440
+     * @param integer $groupID
441
+     * @param boolean $bubble
442
+     */
421 443
     private function renderPlotScatter($groupID, $bubble)
422 444
     {
423 445
         $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping();
@@ -463,6 +485,9 @@  discard block
 block discarded – undo
463 485
         }
464 486
     }
465 487
 
488
+    /**
489
+     * @param integer $groupID
490
+     */
466 491
     private function renderPlotRadar($groupID)
467 492
     {
468 493
         $radarStyle = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle();
@@ -501,6 +526,9 @@  discard block
 block discarded – undo
501 526
         }
502 527
     }
503 528
 
529
+    /**
530
+     * @param integer $groupID
531
+     */
504 532
     private function renderPlotContour($groupID)
505 533
     {
506 534
         $contourStyle = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle();
@@ -521,6 +549,9 @@  discard block
 block discarded – undo
521 549
         $this->graph->Add($seriesPlot);
522 550
     }
523 551
 
552
+    /**
553
+     * @param integer $groupID
554
+     */
524 555
     private function renderPlotStock($groupID)
525 556
     {
526 557
         $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount();
@@ -560,6 +591,9 @@  discard block
 block discarded – undo
560 591
         $this->graph->Add($seriesPlot);
561 592
     }
562 593
 
594
+    /**
595
+     * @param integer $groupCount
596
+     */
563 597
     private function renderAreaChart($groupCount, $dimensions = '2d')
564 598
     {
565 599
         $this->renderCartesianPlotArea();
@@ -569,6 +603,9 @@  discard block
 block discarded – undo
569 603
         }
570 604
     }
571 605
 
606
+    /**
607
+     * @param integer $groupCount
608
+     */
572 609
     private function renderLineChart($groupCount, $dimensions = '2d')
573 610
     {
574 611
         $this->renderCartesianPlotArea();
@@ -578,6 +615,9 @@  discard block
 block discarded – undo
578 615
         }
579 616
     }
580 617
 
618
+    /**
619
+     * @param integer $groupCount
620
+     */
581 621
     private function renderBarChart($groupCount, $dimensions = '2d')
582 622
     {
583 623
         $this->renderCartesianPlotArea();
@@ -587,6 +627,9 @@  discard block
 block discarded – undo
587 627
         }
588 628
     }
589 629
 
630
+    /**
631
+     * @param integer $groupCount
632
+     */
590 633
     private function renderScatterChart($groupCount)
591 634
     {
592 635
         $this->renderCartesianPlotArea('linlin');
@@ -596,6 +639,9 @@  discard block
 block discarded – undo
596 639
         }
597 640
     }
598 641
 
642
+    /**
643
+     * @param integer $groupCount
644
+     */
599 645
     private function renderBubbleChart($groupCount)
600 646
     {
601 647
         $this->renderCartesianPlotArea('linlin');
@@ -605,6 +651,9 @@  discard block
 block discarded – undo
605 651
         }
606 652
     }
607 653
 
654
+    /**
655
+     * @param integer $groupCount
656
+     */
608 657
     private function renderPieChart($groupCount, $dimensions = '2d', $doughnut = false, $multiplePlots = false)
609 658
     {
610 659
         $this->renderPiePlotArea();
@@ -676,6 +725,9 @@  discard block
 block discarded – undo
676 725
         }
677 726
     }
678 727
 
728
+    /**
729
+     * @param integer $groupCount
730
+     */
679 731
     private function renderRadarChart($groupCount)
680 732
     {
681 733
         $this->renderRadarPlotArea();
@@ -685,6 +737,9 @@  discard block
 block discarded – undo
685 737
         }
686 738
     }
687 739
 
740
+    /**
741
+     * @param integer $groupCount
742
+     */
688 743
     private function renderStockChart($groupCount)
689 744
     {
690 745
         $this->renderCartesianPlotArea('intint');
@@ -694,6 +749,10 @@  discard block
 block discarded – undo
694 749
         }
695 750
     }
696 751
 
752
+    /**
753
+     * @param integer $groupCount
754
+     * @param string|null $dimensions
755
+     */
697 756
     private function renderContourChart($groupCount, $dimensions)
698 757
     {
699 758
         $this->renderCartesianPlotArea('intint');
@@ -703,6 +762,10 @@  discard block
 block discarded – undo
703 762
         }
704 763
     }
705 764
 
765
+    /**
766
+     * @param integer $groupCount
767
+     * @param string $outputDestination
768
+     */
706 769
     private function renderCombinationChart($groupCount, $dimensions, $outputDestination)
707 770
     {
708 771
         $this->renderCartesianPlotArea();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/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/Chart/Axis.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -463,6 +463,7 @@
 block discarded – undo
463 463
      * Get Shadow Property.
464 464
      *
465 465
      * @param mixed $elements
466
+     * @return string
466 467
      */
467 468
     public function getShadowProperty($elements)
468 469
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/Worksheet.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
      *
577 577
      * @throws Exception
578 578
      *
579
-     * @return Chart|false
579
+     * @return Chart
580 580
      */
581 581
     public function getChartByIndex($index)
582 582
     {
@@ -1087,7 +1087,7 @@  discard block
 block discarded – undo
1087 1087
      * @param string $column Return the highest data row for the specified column,
1088 1088
      *                                     or the highest data row of any column if no column letter is passed
1089 1089
      *
1090
-     * @return string Highest row number that contains data
1090
+     * @return integer Highest row number that contains data
1091 1091
      */
1092 1092
     public function getHighestDataRow($column = null)
1093 1093
     {
@@ -1139,7 +1139,7 @@  discard block
 block discarded – undo
1139 1139
      * Set a cell value.
1140 1140
      *
1141 1141
      * @param string $pCoordinate Coordinate of the cell, eg: 'A1'
1142
-     * @param mixed $pValue Value of the cell
1142
+     * @param string $pValue Value of the cell
1143 1143
      * @param string $pDataType Explicit data type, see DataType::TYPE_*
1144 1144
      *
1145 1145
      * @return Worksheet
@@ -1910,7 +1910,7 @@  discard block
 block discarded – undo
1910 1910
     /**
1911 1911
      * Set AutoFilter.
1912 1912
      *
1913
-     * @param AutoFilter|string $pValue
1913
+     * @param string $pValue
1914 1914
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1915 1915
      *
1916 1916
      * @throws Exception
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xls/Worksheet.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -622,7 +622,7 @@  discard block
 block discarded – undo
622 622
      * @param int $row Zero indexed row
623 623
      * @param int $col Zero indexed column
624 624
      * @param float $num The number to write
625
-     * @param mixed $xfIndex The optional XF format
625
+     * @param integer $xfIndex The optional XF format
626 626
      *
627 627
      * @return int
628 628
      */
@@ -694,7 +694,7 @@  discard block
 block discarded – undo
694 694
      * @param int $row Zero indexed row
695 695
      * @param int $col Zero indexed column
696 696
      * @param string $str The string to write
697
-     * @param mixed $xfIndex The XF format index for the cell
697
+     * @param integer $xfIndex The XF format index for the cell
698 698
      *
699 699
      * @return int
700 700
      */
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
      *
731 731
      * @param int $row Zero indexed row
732 732
      * @param int $col Zero indexed column
733
-     * @param mixed $xfIndex The XF format index
733
+     * @param integer $xfIndex The XF format index
734 734
      */
735 735
     public function writeBlank($row, $col, $xfIndex)
736 736
     {
@@ -777,7 +777,7 @@  discard block
 block discarded – undo
777 777
      * @param int $row Zero indexed row
778 778
      * @param int $col Zero indexed column
779 779
      * @param string $formula The formula text string
780
-     * @param mixed $xfIndex The XF format index
780
+     * @param integer $xfIndex The XF format index
781 781
      * @param mixed $calculatedValue Calculated value
782 782
      *
783 783
      * @return int
@@ -2205,8 +2205,8 @@  discard block
 block discarded – undo
2205 2205
      * @param mixed $bitmap The bitmap filename or GD-image resource
2206 2206
      * @param int $x the horizontal position (offset) of the image inside the cell
2207 2207
      * @param int $y the vertical position (offset) of the image inside the cell
2208
-     * @param float $scale_x The horizontal scale
2209
-     * @param float $scale_y The vertical scale
2208
+     * @param integer $scale_x The horizontal scale
2209
+     * @param integer $scale_y The vertical scale
2210 2210
      */
2211 2211
     public function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1)
2212 2212
     {
Please login to merge, or discard this patch.