@@ -71,7 +71,7 @@ |
||
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 | */ |
@@ -1188,7 +1188,7 @@ |
||
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 | * |
@@ -25,7 +25,7 @@ |
||
25 | 25 | require_once __DIR__ . '/../../../src/Bootstrap.php'; |
26 | 26 | |
27 | 27 | $inputFileName = './sampleData/example_1.xls'; |
28 | -echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory to identify the format<br />'; |
|
28 | +echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory to identify the format<br />'; |
|
29 | 29 | try { |
30 | 30 | $spreadsheet = IOFactory::load($inputFileName); |
31 | 31 | } catch (InvalidArgumentException $e) { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | $inputFileName = './sampleData/example1.xls'; |
27 | 27 | |
28 | -echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using \PhpOffice\PhpSpreadsheet\Reader\Xls<br />'; |
|
28 | +echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using \PhpOffice\PhpSpreadsheet\Reader\Xls<br />'; |
|
29 | 29 | $reader = new Xls(); |
30 | 30 | // $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx(); |
31 | 31 | // $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xml(); |