Completed
Pull Request — develop (#120)
by Gabriel
19:34
created
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.
docs/Examples/Reader/exampleReader12.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 }
64 64
 
65
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
65
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />';
66 66
 /*  Create a new Reader of the type defined in $inputFileType  **/
67 67
 $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
68 68
 
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader06.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 //	$inputFileType = 'Gnumeric';
33 33
 $inputFileName = './sampleData/example1.xls';
34 34
 
35
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
35
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />';
36 36
 $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
37 37
 echo 'Loading all WorkSheets<br />';
38 38
 $reader->setLoadAllSheets();
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader17.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,16 +32,16 @@
 block discarded – undo
32 32
 //	$inputFileType = 'Gnumeric';
33 33
 $inputFileName = './sampleData/example1.xls';
34 34
 
35
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
35
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />';
36 36
 $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
37 37
 
38 38
 /*  Read the list of Worksheet Names from the Workbook file  **/
39 39
 echo 'Read the list of Worksheets in the WorkBook<br />';
40 40
 $worksheetNames = $reader->listWorksheetNames($inputFileName);
41 41
 
42
-echo 'There are ',count($worksheetNames),' worksheet',((count($worksheetNames) == 1) ? '' : 's'),' in the workbook<br /><br />';
42
+echo 'There are ', count($worksheetNames), ' worksheet', ((count($worksheetNames) == 1) ? '' : 's'), ' in the workbook<br /><br />';
43 43
 foreach ($worksheetNames as $worksheetName) {
44
-    echo $worksheetName,'<br />';
44
+    echo $worksheetName, '<br />';
45 45
 }
46 46
 
47 47
 ?>
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader05.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 //	$inputFileType = 'Gnumeric';
33 33
 $inputFileName = './sampleData/example1.xls';
34 34
 
35
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
35
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />';
36 36
 $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
37 37
 echo 'Turning Formatting off for Load<br />';
38 38
 $reader->setReadDataOnly(true);
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader08.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,18 +33,18 @@
 block discarded – undo
33 33
 $inputFileName = './sampleData/example1.xls';
34 34
 $sheetnames = ['Data Sheet #1', 'Data Sheet #3'];
35 35
 
36
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
36
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />';
37 37
 $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
38
-echo 'Loading Sheet',((count($sheetnames) == 1) ? '' : 's'),' "',implode('" and "', $sheetnames),'" only<br />';
38
+echo 'Loading Sheet', ((count($sheetnames) == 1) ? '' : 's'), ' "', implode('" and "', $sheetnames), '" only<br />';
39 39
 $reader->setLoadSheetsOnly($sheetnames);
40 40
 $spreadsheet = $reader->load($inputFileName);
41 41
 
42 42
 echo '<hr />';
43 43
 
44
-echo $spreadsheet->getSheetCount(),' worksheet',(($spreadsheet->getSheetCount() == 1) ? '' : 's'),' loaded<br /><br />';
44
+echo $spreadsheet->getSheetCount(), ' worksheet', (($spreadsheet->getSheetCount() == 1) ? '' : 's'), ' loaded<br /><br />';
45 45
 $loadedSheetNames = $spreadsheet->getSheetNames();
46 46
 foreach ($loadedSheetNames as $sheetIndex => $loadedSheetName) {
47
-    echo $sheetIndex,' -> ',$loadedSheetName,'<br />';
47
+    echo $sheetIndex, ' -> ', $loadedSheetName, '<br />';
48 48
 }
49 49
 
50 50
 ?>
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
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 include 'PHPExcel/IOFactory.php';
27 27
 
28 28
 $inputFileName = './sampleData/example_1.xls';
29
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory to identify the format<br />';
29
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory to identify the format<br />';
30 30
 try {
31 31
     $spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($inputFileName);
32 32
 } catch (\PHPExcel\Reader\Exception $e) {
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader10.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,9 +62,9 @@
 block discarded – undo
62 62
 
63 63
 $filterSubset = new MyReadFilter(9, 15, range('G', 'K'));
64 64
 
65
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
65
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />';
66 66
 $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
67
-echo 'Loading Sheet "',$sheetname,'" only<br />';
67
+echo 'Loading Sheet "', $sheetname, '" only<br />';
68 68
 $reader->setLoadSheetsOnly($sheetname);
69 69
 echo 'Loading Sheet using configurable filter<br />';
70 70
 $reader->setReadFilter($filterSubset);
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader11.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     }
63 63
 }
64 64
 
65
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
65
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory with a defined reader type of ', $inputFileType, '<br />';
66 66
 /*  Create a new Reader of the type defined in $inputFileType  **/
67 67
 $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
68 68
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
 /*  Loop to read our worksheet in "chunk size" blocks  **/
75 75
 for ($startRow = 2; $startRow <= 240; $startRow += $chunkSize) {
76
-    echo 'Loading WorkSheet using configurable filter for headings row 1 and for rows ',$startRow,' to ',($startRow + $chunkSize - 1),'<br />';
76
+    echo 'Loading WorkSheet using configurable filter for headings row 1 and for rows ', $startRow, ' to ', ($startRow + $chunkSize - 1), '<br />';
77 77
     /*  Create a new Instance of our Read Filter, passing in the limits on which rows we want to read  **/
78 78
     $chunkFilter = new chunkReadFilter($startRow, $chunkSize);
79 79
     /*  Tell the Reader that we want to use the new Read Filter that we've just Instantiated  **/
Please login to merge, or discard this patch.