@@ -4,9 +4,9 @@ |
||
4 | 4 | * Example usage |
5 | 5 | */ |
6 | 6 | |
7 | -require __DIR__ . "/vendor/autoload.php"; |
|
7 | +require __DIR__."/vendor/autoload.php"; |
|
8 | 8 | |
9 | -$excel = new Excel("/example.xlsx",__DIR__); |
|
9 | +$excel = new Excel("/example.xlsx", __DIR__); |
|
10 | 10 | $sheet = new Sheet($excel); |
11 | 11 | $cell = new Cell($excel); |
12 | 12 |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Метод возвращает ридер для документа |
50 | 50 | * |
51 | - * @return PHPExcel_Reader_IReader (Ридер документа) |
|
51 | + * @return \PHPExcel_Reader_IReader (Ридер документа) |
|
52 | 52 | * |
53 | 53 | * @throws PHPExcel_Reader_Exception (Не удалось определить тип документа) |
54 | 54 | */ |
@@ -54,7 +54,7 @@ |
||
54 | 54 | */ |
55 | 55 | public function getReader() |
56 | 56 | { |
57 | - $readerType = \PHPExcel_IOFactory::identify($this->sourceFilePath . $this->sourceFile); |
|
57 | + $readerType = \PHPExcel_IOFactory::identify($this->sourceFilePath.$this->sourceFile); |
|
58 | 58 | |
59 | 59 | return \PHPExcel_IOFactory::createReader($readerType); |
60 | 60 | } |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace EFParser; |
4 | 4 | |
5 | -use EFParserInterface\ICellParser, |
|
6 | - EFParserInterface\IExcel; |
|
5 | +use EFParserInterface\ICellParser; |
|
6 | +use EFParserInterface\IExcel; |
|
7 | 7 | /** |
8 | 8 | * Class Cell |
9 | 9 | * Класс для парсинга ячеек |
@@ -5,9 +5,9 @@ |
||
5 | 5 | use EFParserInterface\ICellParser, |
6 | 6 | EFParserInterface\IExcel; |
7 | 7 | /** |
8 | - * Class Cell |
|
9 | - * Класс для парсинга ячеек |
|
10 | - */ |
|
8 | + * Class Cell |
|
9 | + * Класс для парсинга ячеек |
|
10 | + */ |
|
11 | 11 | class Cell implements ICellParser |
12 | 12 | { |
13 | 13 | private $parser; |