@@ -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) |
@@ -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 = [ |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * @param $val |
60 | 60 | * |
61 | - * @return mixed |
|
61 | + * @return string |
|
62 | 62 | */ |
63 | 63 | public static function xmlspecialchars($val) |
64 | 64 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * |
87 | 87 | * @param string $filename |
88 | 88 | * |
89 | - * @return mixed |
|
89 | + * @return string |
|
90 | 90 | */ |
91 | 91 | public static function checkFilename($filename) |
92 | 92 | { |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
139 | - * @param $dateTime |
|
139 | + * @param string $dateTime |
|
140 | 140 | * |
141 | 141 | * @return float|int |
142 | 142 | */ |