@@ -799,6 +799,10 @@ |
||
799 | 799 | $this->buildTextRun(); |
800 | 800 | } |
801 | 801 | |
802 | + /** |
|
803 | + * @param \DOMElement $element |
|
804 | + * @param string $callbackTag |
|
805 | + */ |
|
802 | 806 | protected function handleCallback($element, $callbackTag, $callbacks) |
803 | 807 | { |
804 | 808 | if (isset($callbacks[$callbackTag])) { |
@@ -226,7 +226,7 @@ |
||
226 | 226 | * Resolve a named range to a regular cell range |
227 | 227 | * |
228 | 228 | * @param string $pNamedRange Named range |
229 | - * @param Worksheet|null $pSheet Scope. Use null for global scope |
|
229 | + * @param Worksheet $pSheet Scope. Use null for global scope |
|
230 | 230 | * @return NamedRange |
231 | 231 | */ |
232 | 232 | public static function resolveRange($pNamedRange, Worksheet $pSheet) |
@@ -231,6 +231,9 @@ discard block |
||
231 | 231 | return $this->loadIntoExisting($pFilename, $objPHPExcel); |
232 | 232 | } |
233 | 233 | |
234 | + /** |
|
235 | + * @param string $styleAttributeValue |
|
236 | + */ |
|
234 | 237 | protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue) |
235 | 238 | { |
236 | 239 | $styleAttributeValue = strtolower($styleAttributeValue); |
@@ -786,6 +789,9 @@ discard block |
||
786 | 789 | } |
787 | 790 | |
788 | 791 | |
792 | + /** |
|
793 | + * @param string $charset |
|
794 | + */ |
|
789 | 795 | protected static function convertStringEncoding($string, $charset) |
790 | 796 | { |
791 | 797 | if ($charset != 'UTF-8') { |
@@ -9,6 +9,7 @@ |
||
9 | 9 | * |
10 | 10 | * @param int $color Indexed color |
11 | 11 | * @param array $palette Color palette |
12 | + * @param integer $version |
|
12 | 13 | * @return array RGB color value, example: array('rgb' => 'FF0000') |
13 | 14 | */ |
14 | 15 | public static function map($color, $palette, $version) |
@@ -190,6 +190,11 @@ |
||
190 | 190 | return ($Y ^ ($X | (~ $Z))) ; // Y XOR (X OR NOT Z) |
191 | 191 | } |
192 | 192 | |
193 | + /** |
|
194 | + * @param string[] $func |
|
195 | + * @param integer $s |
|
196 | + * @param integer $t |
|
197 | + */ |
|
193 | 198 | private static function step($func, &$A, $B, $C, $D, $M, $s, $t) |
194 | 199 | { |
195 | 200 | $A = ($A + call_user_func($func, $B, $C, $D) + $M + $t) & 0xffffffff; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * Convert pixels to EMU |
34 | 34 | * |
35 | 35 | * @param int $pValue Value in pixels |
36 | - * @return int Value in EMU |
|
36 | + * @return double Value in EMU |
|
37 | 37 | */ |
38 | 38 | public static function pixelsToEMU($pValue = 0) |
39 | 39 | { |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * Convert pixels to points |
115 | 115 | * |
116 | 116 | * @param int $pValue Value in pixels |
117 | - * @return int Value in points |
|
117 | + * @return double Value in points |
|
118 | 118 | */ |
119 | 119 | public static function pixelsToPoints($pValue = 0) |
120 | 120 | { |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | * Create a new image from file. By alexander at alexauto dot nl |
167 | 167 | * |
168 | 168 | * @link http://www.php.net/manual/en/function.imagecreatefromwbmp.php#86214 |
169 | - * @param string $filename Path to Windows DIB (BMP) image |
|
169 | + * @param string $p_sFile |
|
170 | 170 | * @return resource |
171 | 171 | */ |
172 | 172 | public static function imagecreatefrombmp($p_sFile) |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | /** |
207 | 207 | * Get the shape index |
208 | 208 | * |
209 | - * @return int |
|
209 | + * @return boolean |
|
210 | 210 | */ |
211 | 211 | public function getSpId() |
212 | 212 | { |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | * Set an option for the Shape Group Container |
218 | 218 | * |
219 | 219 | * @param int $property The number specifies the option |
220 | - * @param mixed $value |
|
220 | + * @param integer $value |
|
221 | 221 | */ |
222 | 222 | public function setOPT($property, $value) |
223 | 223 | { |
@@ -331,7 +331,6 @@ discard block |
||
331 | 331 | /** |
332 | 332 | * Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width |
333 | 333 | * |
334 | - * @param int $startOffsetX |
|
335 | 334 | */ |
336 | 335 | public function setEndOffsetX($endOffsetX = 0) |
337 | 336 | { |
@@ -816,7 +816,7 @@ discard block |
||
816 | 816 | * Return the eigenvector matrix |
817 | 817 | * |
818 | 818 | * @access public |
819 | - * @return V |
|
819 | + * @return Matrix |
|
820 | 820 | */ |
821 | 821 | public function getV() |
822 | 822 | { |
@@ -849,7 +849,7 @@ discard block |
||
849 | 849 | * Return the block diagonal eigenvalue matrix |
850 | 850 | * |
851 | 851 | * @access public |
852 | - * @return D |
|
852 | + * @return Matrix |
|
853 | 853 | */ |
854 | 854 | public function getD() |
855 | 855 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * LU Decomposition constructor. |
61 | 61 | * |
62 | - * @param $A Rectangular matrix |
|
62 | + * @param Matrix $A Rectangular matrix |
|
63 | 63 | * @return Structure to access L, U and piv. |
64 | 64 | */ |
65 | 65 | public function __construct($A) |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | /** |
126 | 126 | * Get lower triangular factor. |
127 | 127 | * |
128 | - * @return array Lower triangular factor |
|
128 | + * @return Matrix Lower triangular factor |
|
129 | 129 | */ |
130 | 130 | public function getL() |
131 | 131 | { |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * Get upper triangular factor. |
148 | 148 | * |
149 | - * @return array Upper triangular factor |
|
149 | + * @return Matrix Upper triangular factor |
|
150 | 150 | */ |
151 | 151 | public function getU() |
152 | 152 | { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | /** |
186 | 186 | * Is the matrix nonsingular? |
187 | 187 | * |
188 | - * @return true if U, and hence A, is nonsingular. |
|
188 | + * @return boolean if U, and hence A, is nonsingular. |
|
189 | 189 | */ |
190 | 190 | public function isNonsingular() |
191 | 191 | { |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | /** |
219 | 219 | * Solve A*X = B |
220 | 220 | * |
221 | - * @param $B A Matrix with as many rows as A and any number of columns. |
|
221 | + * @param Matrix $B A Matrix with as many rows as A and any number of columns. |
|
222 | 222 | * @return X so that L*U*X = B(piv,:) |
223 | 223 | * @\PHPExcel\Calculation\Exception IllegalArgumentException Matrix row dimensions must agree. |
224 | 224 | * @\PHPExcel\Calculation\Exception RuntimeException Matrix is singular. |