@@ -158,7 +158,7 @@ |
||
158 | 158 | /** |
159 | 159 | * Get a list of all cell coordinates currently held in the collection. |
160 | 160 | * |
161 | - * @return string[] |
|
161 | + * @return integer[] |
|
162 | 162 | */ |
163 | 163 | public function getCoordinates() |
164 | 164 | { |
@@ -234,7 +234,7 @@ |
||
234 | 234 | * Resolve a named range to a regular cell range. |
235 | 235 | * |
236 | 236 | * @param string $pNamedRange Named range |
237 | - * @param Worksheet|null $pSheet Scope. Use null for global scope |
|
237 | + * @param Worksheet $pSheet Scope. Use null for global scope |
|
238 | 238 | * |
239 | 239 | * @return NamedRange |
240 | 240 | */ |
@@ -804,6 +804,9 @@ |
||
804 | 804 | return $styleArray; |
805 | 805 | } |
806 | 806 | |
807 | + /** |
|
808 | + * @param string $is |
|
809 | + */ |
|
807 | 810 | private function parseRichText($is) |
808 | 811 | { |
809 | 812 | $value = new \PhpOffice\PhpSpreadsheet\RichText(); |
@@ -472,7 +472,7 @@ |
||
472 | 472 | * |
473 | 473 | * @param int $pValue Sheet index |
474 | 474 | * |
475 | - * @return SYLK |
|
475 | + * @return Slk |
|
476 | 476 | */ |
477 | 477 | public function setSheetIndex($pValue) |
478 | 478 | { |
@@ -230,6 +230,9 @@ discard block |
||
230 | 230 | return $this->loadIntoExisting($pFilename, $spreadsheet); |
231 | 231 | } |
232 | 232 | |
233 | + /** |
|
234 | + * @param string $styleAttributeValue |
|
235 | + */ |
|
233 | 236 | protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue) |
234 | 237 | { |
235 | 238 | $styleAttributeValue = strtolower($styleAttributeValue); |
@@ -761,6 +764,9 @@ discard block |
||
761 | 764 | return $spreadsheet; |
762 | 765 | } |
763 | 766 | |
767 | + /** |
|
768 | + * @param string $charset |
|
769 | + */ |
|
764 | 770 | protected static function convertStringEncoding($string, $charset) |
765 | 771 | { |
766 | 772 | if ($charset != 'UTF-8') { |
@@ -770,6 +776,9 @@ discard block |
||
770 | 776 | return $string; |
771 | 777 | } |
772 | 778 | |
779 | + /** |
|
780 | + * @param string $is |
|
781 | + */ |
|
773 | 782 | protected function parseRichText($is) |
774 | 783 | { |
775 | 784 | $value = new \PhpOffice\PhpSpreadsheet\RichText(); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * |
32 | 32 | * @param int $pValue Value in pixels |
33 | 33 | * |
34 | - * @return int Value in EMU |
|
34 | + * @return double Value in EMU |
|
35 | 35 | */ |
36 | 36 | public static function pixelsToEMU($pValue) |
37 | 37 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * Class constructor - decomposes symmetric positive definite matrix |
47 | 47 | * |
48 | 48 | * @param mixed Matrix square symmetric positive definite matrix |
49 | - * @param null|mixed $A |
|
49 | + * @param Matrix $A |
|
50 | 50 | */ |
51 | 51 | public function __construct(Matrix $A) |
52 | 52 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * If a resource pointer to a stream created by fopen() is passed |
57 | 57 | * it will be used, but you have to close such stream by yourself. |
58 | 58 | * |
59 | - * @param string|resource $filename the name of the file or stream where to save the OLE container |
|
59 | + * @param string $filename the name of the file or stream where to save the OLE container |
|
60 | 60 | * |
61 | 61 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |
62 | 62 | * |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * |
122 | 122 | * @param array $raList Reference to an array of PPS's |
123 | 123 | * |
124 | - * @return float[] The array of numbers |
|
124 | + * @return double[] The array of numbers |
|
125 | 125 | */ |
126 | 126 | public function _calcSize(&$raList) |
127 | 127 | { |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * set ribbon XML data. |
219 | 219 | * |
220 | 220 | * @param null|mixed $target |
221 | - * @param null|mixed $xmlData |
|
221 | + * @param string $xmlData |
|
222 | 222 | */ |
223 | 223 | public function setRibbonXMLData($target, $xmlData) |
224 | 224 | { |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | /** |
286 | 286 | * retrieve Binaries Ribbon Objects. |
287 | 287 | * |
288 | - * @param mixed $what |
|
288 | + * @param string $what |
|
289 | 289 | */ |
290 | 290 | public function getRibbonBinObjects($what = 'all') |
291 | 291 | { |