@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
2 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
3 | 3 | |
4 | 4 | $start = microtime(true); |
5 | 5 | $header = [ |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
2 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
3 | 3 | |
4 | 4 | $start = microtime(true); |
5 | 5 | $header = [ |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
2 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
3 | 3 | |
4 | 4 | $start = microtime(true); |
5 | 5 | $header = [ |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
2 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
3 | 3 | |
4 | 4 | use Ellumilel\ExcelWriter; |
5 | 5 | |
@@ -20,6 +20,6 @@ discard block |
||
20 | 20 | $writer->writeToFile("unit_test_output_one.xlsx"); |
21 | 21 | |
22 | 22 | |
23 | - $this->assertEquals(true, file_exists(__DIR__ . "/../unit_test_output_one.xlsx")); |
|
23 | + $this->assertEquals(true, file_exists(__DIR__."/../unit_test_output_one.xlsx")); |
|
24 | 24 | } |
25 | 25 | } |
@@ -173,7 +173,7 @@ |
||
173 | 173 | return; |
174 | 174 | } |
175 | 175 | $sheetFilename = $this->tempFilename(); |
176 | - $sheetXmlName = 'sheet' . (count($this->sheets) + 1).".xml"; |
|
176 | + $sheetXmlName = 'sheet'.(count($this->sheets) + 1).".xml"; |
|
177 | 177 | $sheetObj = new Sheet(); |
178 | 178 | $sheetObj |
179 | 179 | ->setFilename($sheetFilename) |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | } |
199 | 199 | |
200 | 200 | /** |
201 | - * @param $cellFormat |
|
201 | + * @param string $cellFormat |
|
202 | 202 | * |
203 | 203 | * @return string |
204 | 204 | */ |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * @todo check escaping |
247 | 247 | * |
248 | - * @param $cellFormat |
|
248 | + * @param string $cellFormat |
|
249 | 249 | * |
250 | 250 | * @return string |
251 | 251 | */ |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | * |
285 | 285 | * @param $cellFormat |
286 | 286 | * |
287 | - * @return int|mixed |
|
287 | + * @return integer |
|
288 | 288 | */ |
289 | 289 | private function addCellFormat($cellFormat) |
290 | 290 | { |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
2 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
3 | 3 | |
4 | 4 | $start = microtime(true); |
5 | 5 | $header = [ |