Completed
Push — develop ( 0f0de9...134652 )
by Adrien
21:06
created
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
      *
591 591
      * @throws Exception
592 592
      *
593
-     * @return false|Chart
593
+     * @return null|Chart
594 594
      */
595 595
     public function getChartByIndex($index = null)
596 596
     {
@@ -1153,7 +1153,7 @@  discard block
 block discarded – undo
1153 1153
      * Set a cell value.
1154 1154
      *
1155 1155
      * @param string $pCoordinate Coordinate of the cell
1156
-     * @param mixed $pValue Value of the cell
1156
+     * @param string $pValue Value of the cell
1157 1157
      * @param string $pDataType Explicit data type
1158 1158
      * @param bool $returnCell Return the worksheet (false, default) or the cell (true)
1159 1159
      *
@@ -1237,8 +1237,8 @@  discard block
 block discarded – undo
1237 1237
     /**
1238 1238
      * Get cell at a specific coordinate by using numeric cell coordinates.
1239 1239
      *
1240
-     * @param string $pColumn Numeric column coordinate of the cell
1241
-     * @param string $pRow Numeric row coordinate of the cell
1240
+     * @param integer $pColumn Numeric column coordinate of the cell
1241
+     * @param integer $pRow Numeric row coordinate of the cell
1242 1242
      * @param bool $createIfNotExists Flag indicating whether a new cell should be created if it doesn't
1243 1243
      *                                       already exist, or a null should be returned instead
1244 1244
      *
@@ -1348,8 +1348,8 @@  discard block
 block discarded – undo
1348 1348
     /**
1349 1349
      * Cell at a specific coordinate by using numeric cell coordinates exists?
1350 1350
      *
1351
-     * @param string $pColumn Numeric column coordinate of the cell
1352
-     * @param string $pRow Numeric row coordinate of the cell
1351
+     * @param integer $pColumn Numeric column coordinate of the cell
1352
+     * @param integer $pRow Numeric row coordinate of the cell
1353 1353
      *
1354 1354
      * @return bool
1355 1355
      */
@@ -1362,7 +1362,7 @@  discard block
 block discarded – undo
1362 1362
      * Get row dimension at a specific row.
1363 1363
      *
1364 1364
      * @param int $pRow Numeric index of the row
1365
-     * @param mixed $create
1365
+     * @param boolean $create
1366 1366
      *
1367 1367
      * @return Worksheet\RowDimension
1368 1368
      */
@@ -1388,7 +1388,7 @@  discard block
 block discarded – undo
1388 1388
      * Get column dimension at a specific column.
1389 1389
      *
1390 1390
      * @param string $pColumn String index of the column
1391
-     * @param mixed $create
1391
+     * @param boolean $create
1392 1392
      *
1393 1393
      * @return Worksheet\ColumnDimension
1394 1394
      */
@@ -1934,7 +1934,7 @@  discard block
 block discarded – undo
1934 1934
     /**
1935 1935
      * Set AutoFilter.
1936 1936
      *
1937
-     * @param Worksheet\AutoFilter|string $pValue
1937
+     * @param string $pValue
1938 1938
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1939 1939
      *
1940 1940
      * @throws Exception
@@ -2996,7 +2996,7 @@  discard block
 block discarded – undo
2996 2996
      *
2997 2997
      * @throws Exception
2998 2998
      *
2999
-     * @return objWorksheet
2999
+     * @return Worksheet
3000 3000
      */
3001 3001
     public function setCodeName($pValue = null)
3002 3002
     {
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.