@@ -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) |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | /** |
| 227 | - * @param $cellFormat |
|
| 227 | + * @param string $cellFormat |
|
| 228 | 228 | * |
| 229 | 229 | * @return string |
| 230 | 230 | */ |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | * |
| 274 | 274 | * @param $cellFormat |
| 275 | 275 | * |
| 276 | - * @return int|mixed |
|
| 276 | + * @return integer |
|
| 277 | 277 | */ |
| 278 | 278 | private function addCellFormat($cellFormat) |
| 279 | 279 | { |
@@ -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 = [ |