@@ -119,7 +119,7 @@ |
||
| 119 | 119 | /** |
| 120 | 120 | * Get the parsed data for a single sheet. |
| 121 | 121 | * |
| 122 | - * @param int|string $sheet |
|
| 122 | + * @param integer $sheet |
|
| 123 | 123 | * |
| 124 | 124 | * @return \Illuminate\Support\Collection |
| 125 | 125 | */ |
@@ -182,8 +182,7 @@ |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | $sheets->put($index, $rows); |
| 185 | - } |
|
| 186 | - elseif ($sheetIndex === $index) { |
|
| 185 | + } elseif ($sheetIndex === $index) { |
|
| 187 | 186 | foreach ($sheet->getRowIterator() as $row) { |
| 188 | 187 | $sheets->push($this->parser->transform($row)); |
| 189 | 188 | } |