Completed
Pull Request — develop (#261)
by
unknown
24:19
created
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/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.
src/PhpSpreadsheet/Worksheet/Worksheet.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -597,7 +597,7 @@  discard block
 block discarded – undo
597 597
      *
598 598
      * @throws Exception
599 599
      *
600
-     * @return Chart|false
600
+     * @return Chart
601 601
      */
602 602
     public function getChartByIndex($index)
603 603
     {
@@ -1108,7 +1108,7 @@  discard block
 block discarded – undo
1108 1108
      * @param string $column Return the highest data row for the specified column,
1109 1109
      *                                     or the highest data row of any column if no column letter is passed
1110 1110
      *
1111
-     * @return string Highest row number that contains data
1111
+     * @return integer Highest row number that contains data
1112 1112
      */
1113 1113
     public function getHighestDataRow($column = null)
1114 1114
     {
@@ -1160,7 +1160,7 @@  discard block
 block discarded – undo
1160 1160
      * Set a cell value.
1161 1161
      *
1162 1162
      * @param string $pCoordinate Coordinate of the cell, eg: 'A1'
1163
-     * @param mixed $pValue Value of the cell
1163
+     * @param string $pValue Value of the cell
1164 1164
      * @param string $pDataType Explicit data type, see DataType::TYPE_*
1165 1165
      *
1166 1166
      * @return Worksheet
@@ -1931,7 +1931,7 @@  discard block
 block discarded – undo
1931 1931
     /**
1932 1932
      * Set AutoFilter.
1933 1933
      *
1934
-     * @param AutoFilter|string $pValue
1934
+     * @param string $pValue
1935 1935
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1936 1936
      *
1937 1937
      * @throws Exception
@@ -2069,7 +2069,7 @@  discard block
 block discarded – undo
2069 2069
     /**
2070 2070
      * Get the cell at the upper-left corner of the right pane.
2071 2071
      *
2072
-     * @return int
2072
+     * @return string
2073 2073
      */
2074 2074
     public function getTopLeftCell()
2075 2075
     {
Please login to merge, or discard this patch.