Completed
Push — develop ( e95e4d...4fd8e7 )
by Adrien
61:55
created
src/PhpSpreadsheet/Writer/Xls/Xf.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     /**
141 141
      * Constructor.
142 142
      *
143
-     * @param Style The XF format
143
+     * @param Style Style XF format
144 144
      */
145 145
     public function __construct(Style $style)
146 146
     {
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
@@ -177,16 +177,25 @@  discard block
 block discarded – undo
177 177
         return fread($this->fileHandle, $blockSize);
178 178
     }
179 179
 
180
+    /**
181
+     * @param string $data
182
+     */
180 183
     private static function startsWithTag($data)
181 184
     {
182 185
         return '<' === substr(trim($data), 0, 1);
183 186
     }
184 187
 
188
+    /**
189
+     * @param string $data
190
+     */
185 191
     private static function endsWithTag($data)
186 192
     {
187 193
         return '>' === substr(trim($data), -1, 1);
188 194
     }
189 195
 
196
+    /**
197
+     * @param string $data
198
+     */
190 199
     private static function containsTags($data)
191 200
     {
192 201
         return strlen($data) !== strlen(strip_tags($data));
@@ -260,6 +269,10 @@  discard block
 block discarded – undo
260 269
         return array_pop($this->nestedColumn);
261 270
     }
262 271
 
272
+    /**
273
+     * @param Worksheet $sheet
274
+     * @param integer $row
275
+     */
263 276
     protected function flushCell($sheet, $column, $row, &$cellContent)
264 277
     {
265 278
         if (is_string($cellContent)) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/Row.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
45 45
     /**
46 46
      * Create a new row.
47 47
      *
48
-     * @param Worksheet $parent
49 48
      * @param int $rowIndex
50 49
      */
51 50
     public function __construct(Worksheet $worksheet = null, $rowIndex = 1)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -1072,7 +1072,6 @@
 block discarded – undo
1072 1072
      * @param XMLWriter $objWriter XML Writer
1073 1073
      * @param PhpspreadsheetWorksheet $pSheet Worksheet
1074 1074
      * @param Cell $pCellAddress Cell Address
1075
-     * @param string[] $pStringTable String table
1076 1075
      * @param string[] $pFlippedStringTable String table (flipped), for faster index searching
1077 1076
      *
1078 1077
      * @throws WriterException
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
     /**
244 244
      * Solve A*X = B.
245 245
      *
246
-     * @param $B a Matrix with as many rows as A and any number of columns
246
+     * @param Matrix $B a Matrix with as many rows as A and any number of columns
247 247
      *
248 248
      * @throws CalculationException illegalArgumentException Matrix row dimensions must agree
249 249
      * @throws CalculationException runtimeException  Matrix is singular
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLERead.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     /**
72 72
      * Read the file.
73 73
      *
74
-     * @param $pFilename string Filename
74
+     * @param string $pFilename string Filename
75 75
      *
76 76
      * @throws ReaderException
77 77
      */
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
@@ -1188,7 +1188,7 @@
 block discarded – undo
1188 1188
      * @param Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet
1189 1189
      * @param array $pValues Array containing cells in a row
1190 1190
      * @param int $pRow Row number (0-based)
1191
-     * @param mixed $cellType eg: 'td'
1191
+     * @param string $cellType eg: 'td'
1192 1192
      *
1193 1193
      * @throws WriterException
1194 1194
      *
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Chart/Layout.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     /**
237 237
      * Get X-Position.
238 238
      *
239
-     * @return number
239
+     * @return string
240 240
      */
241 241
     public function getXPosition()
242 242
     {
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     /**
261 261
      * Get Y-Position.
262 262
      *
263
-     * @return number
263
+     * @return string
264 264
      */
265 265
     public function getYPosition()
266 266
     {
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
     /**
285 285
      * Get Width.
286 286
      *
287
-     * @return number
287
+     * @return string
288 288
      */
289 289
     public function getWidth()
290 290
     {
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
     /**
309 309
      * Get Height.
310 310
      *
311
-     * @return number
311
+     * @return string
312 312
      */
313 313
     public function getHeight()
314 314
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1855,7 +1855,7 @@  discard block
 block discarded – undo
1855 1855
      *
1856 1856
      * @param string $complexNumber the complex number for which you want the real coefficient
1857 1857
      *
1858
-     * @return float
1858
+     * @return string
1859 1859
      */
1860 1860
     public static function IMREAL($complexNumber)
1861 1861
     {
@@ -2294,6 +2294,7 @@  discard block
 block discarded – undo
2294 2294
      *        IMSUM(complexNumber[,complexNumber[,...]])
2295 2295
      *
2296 2296
      * @param string ...$complexNumbers Series of complex numbers to add
2297
+     * @param string[] $complexNumbers
2297 2298
      *
2298 2299
      * @return string
2299 2300
      */
@@ -2334,6 +2335,7 @@  discard block
 block discarded – undo
2334 2335
      *        IMPRODUCT(complexNumber[,complexNumber[,...]])
2335 2336
      *
2336 2337
      * @param string ...$complexNumbers Series of complex numbers to multiply
2338
+     * @param string[] $complexNumbers
2337 2339
      *
2338 2340
      * @return string
2339 2341
      */
@@ -2377,7 +2379,7 @@  discard block
 block discarded – undo
2377 2379
      *        DELTA(a[,b])
2378 2380
      *
2379 2381
      * @param float $a the first number
2380
-     * @param float $b The second number. If omitted, b is assumed to be zero.
2382
+     * @param integer $b The second number. If omitted, b is assumed to be zero.
2381 2383
      *
2382 2384
      * @return int
2383 2385
      */
@@ -2400,7 +2402,7 @@  discard block
 block discarded – undo
2400 2402
      * functions you calculate the count of values that exceed a threshold.
2401 2403
      *
2402 2404
      * @param float $number the value to test against step
2403
-     * @param float $step The threshold value.
2405
+     * @param integer $step The threshold value.
2404 2406
      *                                    If you omit a value for step, GESTEP uses zero.
2405 2407
      *
2406 2408
      * @return int
Please login to merge, or discard this patch.