Completed
Push — develop ( b01671...714dc2 )
by Adrien
30:43
created
src/PhpSpreadsheet/Calculation/LookupRef.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @param row Row number to use in the cell reference
38 38
      * @param column Column number to use in the cell reference
39
-     * @param relativity Flag indicating the type of reference to return
39
+     * @param relativity integer indicating the type of reference to return
40 40
      *                                1 or omitted    Absolute
41 41
      *                                2                Absolute row; relative column
42 42
      *                                3                Relative row; absolute column
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param sheetText Optional Name of worksheet to use
48 48
      * @param mixed $row
49 49
      * @param mixed $column
50
-     * @param mixed $relativity
50
+     * @param integer $relativity
51 51
      * @param mixed $referenceStyle
52 52
      * @param mixed $sheetText
53 53
      *
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
      *
359 359
      * @param cellAddress The reference from which you want to base the offset. Reference must refer to a cell or
360 360
      *                                range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value.
361
-     * @param rows The number of rows, up or down, that you want the upper-left cell to refer to.
361
+     * @param rows integer number of rows, up or down, that you want the upper-left cell to refer to.
362 362
      *                                Using 5 as the rows argument specifies that the upper-left cell in the reference is
363 363
      *                                five rows below reference. Rows can be positive (which means below the starting reference)
364 364
      *                                or negative (which means above the starting reference).
@@ -370,8 +370,8 @@  discard block
 block discarded – undo
370 370
      * @param height The height, in number of rows, that you want the returned reference to be. Height must be a positive number.
371 371
      * @param width The width, in number of columns, that you want the returned reference to be. Width must be a positive number.
372 372
      * @param null|mixed $cellAddress
373
-     * @param mixed $rows
374
-     * @param mixed $columns
373
+     * @param integer $rows
374
+     * @param integer $columns
375 375
      * @param null|mixed $height
376 376
      * @param null|mixed $width
377 377
      * @param \PhpOffice\PhpSpreadsheet\Cell $pCell
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
499 499
      *
500 500
      * @param mixed $lookupValue The value that you want to match in lookup_array
501 501
      * @param mixed $lookupArray The range of cells being searched
502
-     * @param mixed $matchType The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered.
502
+     * @param integer $matchType The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered.
503 503
      *
504 504
      * @return int The relative position of the found item
505 505
      */
@@ -613,8 +613,8 @@  discard block
 block discarded – undo
613 613
      * @param row_num The row in array from which to return a value. If row_num is omitted, column_num is required.
614 614
      * @param column_num The column in array from which to return a value. If column_num is omitted, row_num is required.
615 615
      * @param mixed $arrayValues
616
-     * @param mixed $rowNum
617
-     * @param mixed $columnNum
616
+     * @param integer $rowNum
617
+     * @param integer $columnNum
618 618
      *
619 619
      * @return mixed the value of a specified cell or array of cells
620 620
      */
@@ -710,11 +710,11 @@  discard block
 block discarded – undo
710 710
      *
711 711
      * @param lookup_value The value that you want to match in lookup_array
712 712
      * @param lookup_array The range of cells being searched
713
-     * @param index_number The column number in table_array from which the matching value must be returned. The first column is 1.
713
+     * @param index_number integer column number in table_array from which the matching value must be returned. The first column is 1.
714 714
      * @param not_exact_match determines if you are looking for an exact match based on lookup_value
715 715
      * @param mixed $lookup_value
716 716
      * @param mixed $lookup_array
717
-     * @param mixed $index_number
717
+     * @param integer $index_number
718 718
      * @param mixed $not_exact_match
719 719
      *
720 720
      * @return mixed The value of the found cell
Please login to merge, or discard this patch.
docs/Examples/Reading WorkBook Data/exampleWorkBookReader04.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@
 block discarded – undo
34 34
 echo 'Reading the number of Worksheets in the WorkBook<br />';
35 35
 /*  Use the PhpSpreadsheet object's getSheetCount() method to get a count of the number of WorkSheets in the WorkBook  */
36 36
 $sheetCount = $spreadsheet->getSheetCount();
37
-echo 'There ',(($sheetCount == 1) ? 'is' : 'are'),' ',$sheetCount,' WorkSheet',(($sheetCount == 1) ? '' : 's'),' in the WorkBook<br /><br />';
37
+echo 'There ', (($sheetCount == 1) ? 'is' : 'are'), ' ', $sheetCount, ' WorkSheet', (($sheetCount == 1) ? '' : 's'), ' in the WorkBook<br /><br />';
38 38
 
39 39
 echo 'Reading the names of Worksheets in the WorkBook<br />';
40 40
 /*  Use the PhpSpreadsheet object's getSheetNames() method to get an array listing the names/titles of the WorkSheets in the WorkBook  */
41 41
 $sheetNames = $spreadsheet->getSheetNames();
42 42
 foreach ($sheetNames as $sheetIndex => $sheetName) {
43
-    echo 'WorkSheet #',$sheetIndex,' is named "',$sheetName,'"<br />';
43
+    echo 'WorkSheet #', $sheetIndex, ' is named "', $sheetName, '"<br />';
44 44
 }
45 45
 
46 46
 ?>
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader16.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 require_once __DIR__ . '/../../../src/Bootstrap.php';
23 23
 
24 24
 $inputFileName = './sampleData/example_1.xls';
25
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory to identify the format<br />';
25
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory to identify the format<br />';
26 26
 try {
27 27
     $spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($inputFileName);
28 28
 } catch (\InvalidArgumentException $e) {
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader01.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 require_once __DIR__ . '/../../../src/Bootstrap.php';
23 23
 
24 24
 $inputFileName = './sampleData/example1.xls';
25
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory to identify the format<br />';
25
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory to identify the format<br />';
26 26
 $spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($inputFileName);
27 27
 
28 28
 echo '<hr />';
Please login to merge, or discard this patch.