Skip to content

Commit

Permalink
Removed sheet management from Loader
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Jun 24, 2024
1 parent b7670d6 commit 46188a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/Sheet/FingersCrossed/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@
{
public function __construct(
private WriterInterface $writer,
private string $sheetName,
private LoggerInterface $logger = new NullLogger()
) {
/* @phpstan-ignore-next-line */
$this->writer->getCurrentSheet()->setName($this->sheetName);
}

public function load(): \Generator
Expand Down
3 changes: 0 additions & 3 deletions src/Sheet/Safe/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@
{
public function __construct(
private WriterInterface $writer,
private string $sheetName,
private LoggerInterface $logger = new NullLogger()
) {
/* @phpstan-ignore-next-line */
$this->writer->getCurrentSheet()->setName($this->sheetName);
}

public function load(): \Generator
Expand Down

0 comments on commit 46188a0

Please sign in to comment.