Completed
Push — develop ( fd9c92...bd9eb1 )
by Adrien
21:03
created
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.
src/PhpSpreadsheet/Collection/Cells.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -580,7 +580,7 @@  discard block
 block discarded – undo
580 580
      *
581 581
      * @throws Exception
582 582
      *
583
-     * @return false|Chart
583
+     * @return null|Chart
584 584
      */
585 585
     public function getChartByIndex($index = null)
586 586
     {
@@ -1089,7 +1089,7 @@  discard block
 block discarded – undo
1089 1089
      * @param string $column Return the highest data row for the specified column,
1090 1090
      *                                     or the highest data row of any column if no column letter is passed
1091 1091
      *
1092
-     * @return string Highest row number that contains data
1092
+     * @return integer Highest row number that contains data
1093 1093
      */
1094 1094
     public function getHighestDataRow($column = null)
1095 1095
     {
@@ -1143,7 +1143,7 @@  discard block
 block discarded – undo
1143 1143
      * Set a cell value.
1144 1144
      *
1145 1145
      * @param string $pCoordinate Coordinate of the cell
1146
-     * @param mixed $pValue Value of the cell
1146
+     * @param string $pValue Value of the cell
1147 1147
      * @param string $pDataType Explicit data type
1148 1148
      * @param bool $returnCell Return the worksheet (false, default) or the cell (true)
1149 1149
      *
@@ -1227,8 +1227,8 @@  discard block
 block discarded – undo
1227 1227
     /**
1228 1228
      * Get cell at a specific coordinate by using numeric cell coordinates.
1229 1229
      *
1230
-     * @param string $pColumn Numeric column coordinate of the cell
1231
-     * @param string $pRow Numeric row coordinate of the cell
1230
+     * @param integer $pColumn Numeric column coordinate of the cell
1231
+     * @param integer $pRow Numeric row coordinate of the cell
1232 1232
      * @param bool $createIfNotExists Flag indicating whether a new cell should be created if it doesn't
1233 1233
      *                                       already exist, or a null should be returned instead
1234 1234
      *
@@ -1336,8 +1336,8 @@  discard block
 block discarded – undo
1336 1336
     /**
1337 1337
      * Cell at a specific coordinate by using numeric cell coordinates exists?
1338 1338
      *
1339
-     * @param string $pColumn Numeric column coordinate of the cell
1340
-     * @param string $pRow Numeric row coordinate of the cell
1339
+     * @param integer $pColumn Numeric column coordinate of the cell
1340
+     * @param integer $pRow Numeric row coordinate of the cell
1341 1341
      *
1342 1342
      * @return bool
1343 1343
      */
@@ -1350,7 +1350,7 @@  discard block
 block discarded – undo
1350 1350
      * Get row dimension at a specific row.
1351 1351
      *
1352 1352
      * @param int $pRow Numeric index of the row
1353
-     * @param mixed $create
1353
+     * @param boolean $create
1354 1354
      *
1355 1355
      * @return Worksheet\RowDimension
1356 1356
      */
@@ -1376,7 +1376,7 @@  discard block
 block discarded – undo
1376 1376
      * Get column dimension at a specific column.
1377 1377
      *
1378 1378
      * @param string $pColumn String index of the column
1379
-     * @param mixed $create
1379
+     * @param boolean $create
1380 1380
      *
1381 1381
      * @return Worksheet\ColumnDimension
1382 1382
      */
@@ -1922,7 +1922,7 @@  discard block
 block discarded – undo
1922 1922
     /**
1923 1923
      * Set AutoFilter.
1924 1924
      *
1925
-     * @param Worksheet\AutoFilter|string $pValue
1925
+     * @param string $pValue
1926 1926
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1927 1927
      *
1928 1928
      * @throws Exception
@@ -2988,7 +2988,7 @@  discard block
 block discarded – undo
2988 2988
      *
2989 2989
      * @throws Exception
2990 2990
      *
2991
-     * @return objWorksheet
2991
+     * @return Worksheet
2992 2992
      */
2993 2993
     public function setCodeName($pValue = null)
2994 2994
     {
Please login to merge, or discard this patch.