@@ -109,7 +109,7 @@ |
||
109 | 109 | * Fallback method for writeRaw, introduced in PHP 5.2 |
110 | 110 | * |
111 | 111 | * @param string $text |
112 | - * @return string |
|
112 | + * @return boolean |
|
113 | 113 | */ |
114 | 114 | public function writeRawData($text) |
115 | 115 | { |
@@ -155,6 +155,9 @@ |
||
155 | 155 | return $contents; |
156 | 156 | } |
157 | 157 | |
158 | + /** |
|
159 | + * @param integer $index |
|
160 | + */ |
|
158 | 161 | public function getFromIndex($index) |
159 | 162 | { |
160 | 163 | $extracted = $this->zip->extractByIndex($index, PCLZIP_OPT_EXTRACT_AS_STRING); |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * Implements support for fstat(). |
103 | 103 | * |
104 | - * @return boolean |
|
104 | + * @return string |
|
105 | 105 | */ |
106 | 106 | public function statName() |
107 | 107 | { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * Implements support for fstat(). |
113 | 113 | * |
114 | - * @return boolean |
|
114 | + * @return string |
|
115 | 115 | */ |
116 | 116 | public function url_stat() // @codingStandardsIgnoreLine |
117 | 117 | { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | * |
168 | 168 | * @param int $offset byte offset |
169 | 169 | * @param int $whence SEEK_SET, SEEK_CUR or SEEK_END |
170 | - * @return bool |
|
170 | + * @return boolean|null |
|
171 | 171 | */ |
172 | 172 | public function stream_seek($offset, $whence) // @codingStandardsIgnoreLine |
173 | 173 | { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * Get Condition type |
102 | 102 | * |
103 | - * @return string |
|
103 | + * @return integer |
|
104 | 104 | */ |
105 | 105 | public function getConditionType() |
106 | 106 | { |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | /** |
123 | 123 | * Get Operator type |
124 | 124 | * |
125 | - * @return string |
|
125 | + * @return integer |
|
126 | 126 | */ |
127 | 127 | public function getOperatorType() |
128 | 128 | { |
@@ -467,6 +467,7 @@ discard block |
||
467 | 467 | * |
468 | 468 | * @param string $dynamicRuleType |
469 | 469 | * @param AutoFilter\Column &$filterColumn |
470 | + * @param AutoFilter\Column $filterColumn |
|
470 | 471 | * @return mixed[] |
471 | 472 | */ |
472 | 473 | private function dynamicFilterDateRange($dynamicRuleType, &$filterColumn) |
@@ -571,6 +572,11 @@ discard block |
||
571 | 572 | return array('method' => 'filterTestInCustomDataSet', 'arguments' => array('filterRules' => $ruleValues, 'join' => AutoFilter\Column::AUTOFILTER_COLUMN_JOIN_AND)); |
572 | 573 | } |
573 | 574 | |
575 | + /** |
|
576 | + * @param integer $columnID |
|
577 | + * @param integer $startRow |
|
578 | + * @param string $ruleType |
|
579 | + */ |
|
574 | 580 | private function calculateTopTenValue($columnID, $startRow, $endRow, $ruleType, $ruleValue) |
575 | 581 | { |
576 | 582 | $range = $columnID.$startRow.':'.$columnID.$endRow; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * Get ColumnIndex |
71 | 71 | * |
72 | - * @return string |
|
72 | + * @return integer |
|
73 | 73 | */ |
74 | 74 | public function getColumnIndex() |
75 | 75 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * Set Width |
103 | 103 | * |
104 | - * @param double $pValue |
|
104 | + * @param integer $pValue |
|
105 | 105 | * @return ColumnDimension |
106 | 106 | */ |
107 | 107 | public function setWidth($pValue = -1) |
@@ -60,7 +60,7 @@ |
||
60 | 60 | /** |
61 | 61 | * Create a new Dimension |
62 | 62 | * |
63 | - * @param int $pIndex Numeric row index |
|
63 | + * @param integer $initialValue |
|
64 | 64 | */ |
65 | 65 | public function __construct($initialValue = null) |
66 | 66 | { |
@@ -802,7 +802,7 @@ discard block |
||
802 | 802 | * Set first page number |
803 | 803 | * |
804 | 804 | * @param int $value |
805 | - * @return HeaderFooter |
|
805 | + * @return PageSetup |
|
806 | 806 | */ |
807 | 807 | public function setFirstPageNumber($value = null) |
808 | 808 | { |
@@ -813,7 +813,7 @@ discard block |
||
813 | 813 | /** |
814 | 814 | * Reset first page number |
815 | 815 | * |
816 | - * @return HeaderFooter |
|
816 | + * @return PageSetup |
|
817 | 817 | */ |
818 | 818 | public function resetFirstPageNumber() |
819 | 819 | { |
@@ -101,7 +101,7 @@ |
||
101 | 101 | /** |
102 | 102 | * Set Row Height |
103 | 103 | * |
104 | - * @param double $pValue |
|
104 | + * @param integer $pValue |
|
105 | 105 | * @return RowDimension |
106 | 106 | */ |
107 | 107 | public function setRowHeight($pValue = -1) |