Completed
Push — develop ( 1cdc85...031af1 )
by Adrien
21:20
created
src/PhpSpreadsheet/Writer/Xls/Workbook.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,8 +240,8 @@  discard block
 block discarded – undo
240 240
      *
241 241
      * @param \PhpOffice\PhpSpreadsheet\Style
242 242
      * @param bool Is it a style XF?
243
-     * @param mixed $style
244
-     * @param mixed $isStyleXf
243
+     * @param \PhpOffice\PhpSpreadsheet\Style $style
244
+     * @param boolean $isStyleXf
245 245
      *
246 246
      * @return int Index to XF record
247 247
      */
@@ -796,7 +796,7 @@  discard block
 block discarded – undo
796 796
      *
797 797
      * @param    string        $name            The name in UTF-8
798 798
      * @param    string        $formulaData    The binary formula data
799
-     * @param    string        $sheetIndex        1-based sheet index the defined name applies to. 0 = global
799
+     * @param    integer        $sheetIndex        1-based sheet index the defined name applies to. 0 = global
800 800
      * @param    bool        $isBuiltIn        Built-in name?
801 801
      *
802 802
      * @return    string    Complete binary record data
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx/Chart.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -410,8 +410,8 @@  discard block
 block discarded – undo
410 410
      * @param  string $id1
411 411
      * @param  string $id2
412 412
      * @param  bool $isMultiLevelSeries
413
-     * @param mixed $xAxis
414
-     * @param mixed $yAxis
413
+     * @param null|Axis $xAxis
414
+     * @param null|Axis $yAxis
415 415
      *
416 416
      * @throws  \PhpOffice\PhpSpreadsheet\Writer\Exception
417 417
      */
@@ -533,10 +533,10 @@  discard block
 block discarded – undo
533 533
      * @param  string $id1
534 534
      * @param  string $id2
535 535
      * @param  bool $isMultiLevelSeries
536
-     * @param mixed $xAxis
537
-     * @param mixed $yAxis
538
-     * @param mixed $majorGridlines
539
-     * @param mixed $minorGridlines
536
+     * @param null|Axis $xAxis
537
+     * @param null|Axis $yAxis
538
+     * @param null|GridLines $majorGridlines
539
+     * @param null|GridLines $minorGridlines
540 540
      *
541 541
      * @throws  \PhpOffice\PhpSpreadsheet\Writer\Exception
542 542
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/Row.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,6 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * Create a new row.
45 45
      *
46
-     * @param \PhpOffice\PhpSpreadsheet\Worksheet         $parent
47 46
      * @param int                        $rowIndex
48 47
      */
49 48
     public function __construct(\PhpOffice\PhpSpreadsheet\Worksheet $worksheet = null, $rowIndex = 1)
@@ -87,7 +86,7 @@  discard block
 block discarded – undo
87 86
     /**
88 87
      * Returns bound worksheet
89 88
      *
90
-     * @return Worksheet
89
+     * @return 
91 90
      */
92 91
     public function getWorksheet()
93 92
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xlsx.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -294,6 +294,11 @@  discard block
 block discarded – undo
294 294
         return isset($c->v) ? (string) $c->v : null;
295 295
     }
296 296
 
297
+    /**
298
+     * @param string $r
299
+     * @param string $cellDataType
300
+     * @param string $castBaseType
301
+     */
297 302
     private function castToFormula($c, $r, &$cellDataType, &$value, &$calculatedValue, &$sharedFormulas, $castBaseType)
298 303
     {
299 304
         $cellDataType = 'f';
@@ -2159,6 +2164,9 @@  discard block
 block discarded – undo
2159 2164
         return preg_replace('~[^/]+/\.\./~', '', dirname($base) . "/$add");
2160 2165
     }
2161 2166
 
2167
+    /**
2168
+     * @param string $style
2169
+     */
2162 2170
     private static function toCSSArray($style)
2163 2171
     {
2164 2172
         $style = str_replace(["\r", "\n"], '', $style);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Spreadsheet.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
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 = null, $xmlData = null)
224 224
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      *
235 235
      * return string|null|array
236 236
      *
237
-     * @param mixed $what
237
+     * @param string $what
238 238
      *
239 239
      * @return string
240 240
      */
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Html.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -168,16 +168,25 @@  discard block
 block discarded – undo
168 168
         return fread($this->fileHandle, $blockSize);
169 169
     }
170 170
 
171
+    /**
172
+     * @param string $data
173
+     */
171 174
     private static function startsWithTag($data)
172 175
     {
173 176
         return '<' === substr(trim($data), 0, 1);
174 177
     }
175 178
 
179
+    /**
180
+     * @param string $data
181
+     */
176 182
     private static function endsWithTag($data)
177 183
     {
178 184
         return '>' === substr(trim($data), -1, 1);
179 185
     }
180 186
 
187
+    /**
188
+     * @param string $data
189
+     */
181 190
     private static function containsTags($data)
182 191
     {
183 192
         return strlen($data) !== strlen(strip_tags($data));
@@ -249,6 +258,10 @@  discard block
 block discarded – undo
249 258
         return array_pop($this->nestedColumn);
250 259
     }
251 260
 
261
+    /**
262
+     * @param \PhpOffice\PhpSpreadsheet\Worksheet $sheet
263
+     * @param integer $row
264
+     */
252 265
     protected function flushCell($sheet, $column, $row, &$cellContent)
253 266
     {
254 267
         if (is_string($cellContent)) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Slk.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@
 block discarded – undo
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 = 0)
478 478
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xml.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -231,6 +231,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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') {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Html.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1165,7 +1165,7 @@
 block discarded – undo
1165 1165
      * @param    \PhpOffice\PhpSpreadsheet\Worksheet    $pSheet            \PhpOffice\PhpSpreadsheet\Worksheet
1166 1166
      * @param    array                $pValues        Array containing cells in a row
1167 1167
      * @param    int                    $pRow            Row number (0-based)
1168
-     * @param mixed $cellType
1168
+     * @param string $cellType
1169 1169
      *
1170 1170
      * @throws    \PhpOffice\PhpSpreadsheet\Writer\Exception
1171 1171
      *
Please login to merge, or discard this patch.