@@ -463,6 +463,7 @@ |
||
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 | { |
@@ -622,7 +622,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -605,7 +605,7 @@ discard block |
||
605 | 605 | * |
606 | 606 | * @throws Exception |
607 | 607 | * |
608 | - * @return Chart|false |
|
608 | + * @return Chart |
|
609 | 609 | */ |
610 | 610 | public function getChartByIndex($index) |
611 | 611 | { |
@@ -1116,7 +1116,7 @@ discard block |
||
1116 | 1116 | * @param string $column Return the highest data row for the specified column, |
1117 | 1117 | * or the highest data row of any column if no column letter is passed |
1118 | 1118 | * |
1119 | - * @return string Highest row number that contains data |
|
1119 | + * @return integer Highest row number that contains data |
|
1120 | 1120 | */ |
1121 | 1121 | public function getHighestDataRow($column = null) |
1122 | 1122 | { |
@@ -1168,7 +1168,7 @@ discard block |
||
1168 | 1168 | * Set a cell value. |
1169 | 1169 | * |
1170 | 1170 | * @param string $pCoordinate Coordinate of the cell, eg: 'A1' |
1171 | - * @param mixed $pValue Value of the cell |
|
1171 | + * @param string $pValue Value of the cell |
|
1172 | 1172 | * @param string $pDataType Explicit data type, see DataType::TYPE_* |
1173 | 1173 | * |
1174 | 1174 | * @return Worksheet |
@@ -1939,7 +1939,7 @@ discard block |
||
1939 | 1939 | /** |
1940 | 1940 | * Set AutoFilter. |
1941 | 1941 | * |
1942 | - * @param AutoFilter|string $pValue |
|
1942 | + * @param string $pValue |
|
1943 | 1943 | * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility |
1944 | 1944 | * |
1945 | 1945 | * @throws Exception |
@@ -2003,10 +2003,11 @@ discard block |
||
2003 | 2003 | /** |
2004 | 2004 | * Freeze Pane. |
2005 | 2005 | * |
2006 | - * @param string $pCell Cell (i.e. A2) |
|
2007 | 2006 | * |
2008 | 2007 | * @throws Exception |
2009 | 2008 | * |
2009 | + * @param integer $colSplit |
|
2010 | + * @param integer $rowSplit |
|
2010 | 2011 | * @return Worksheet |
2011 | 2012 | */ |
2012 | 2013 | public function createFreezePane($colSplit, $rowSplit, $leftMostColumn = null , $topRow = null) |
@@ -2009,10 +2009,10 @@ |
||
2009 | 2009 | * |
2010 | 2010 | * @return Worksheet |
2011 | 2011 | */ |
2012 | - public function createFreezePane($colSplit, $rowSplit, $leftMostColumn = null , $topRow = null) |
|
2012 | + public function createFreezePane($colSplit, $rowSplit, $leftMostColumn = null, $topRow = null) |
|
2013 | 2013 | { |
2014 | 2014 | // If colSplit and rowSplit are equal to zero the freeze pane is removed |
2015 | - if($colSplit == 0 && $rowSplit == 0) { |
|
2015 | + if ($colSplit == 0 && $rowSplit == 0) { |
|
2016 | 2016 | $this->freezePane = false; |
2017 | 2017 | return $this; |
2018 | 2018 | } |
@@ -249,7 +249,7 @@ |
||
249 | 249 | $ySplit = $pSheet->getRowSplit(); |
250 | 250 | |
251 | 251 | // Calculate top left cell |
252 | - $topLeftCell = Cell::stringFromColumnIndex($pSheet->getLeftMostColumn()) . ( $pSheet->getTopRow() ); |
|
252 | + $topLeftCell = Cell::stringFromColumnIndex($pSheet->getLeftMostColumn()) . ($pSheet->getTopRow()); |
|
253 | 253 | $activeCell = $topLeftCell; |
254 | 254 | |
255 | 255 | // pane |