Skip to content

Commit

Permalink
php 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wattnpapa committed Dec 30, 2024
1 parent cbf2298 commit 9bba682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Snapshot.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function shouldIgnoreLine(string $line): bool
return empty($line) || $this->isASqlComment($line);
}

protected function loadStream(string $connectionName = null)
protected function loadStream(?string $connectionName = null): void
{
$directory = (new TemporaryDirectory(config('db-snapshots.temporary_directory_path')))->create();

Expand Down Expand Up @@ -160,7 +160,7 @@ protected function loadStream(string $connectionName = null)
$directory->delete();
}
}

public function delete(): void
{
event(new DeletingSnapshot($this));
Expand Down

0 comments on commit 9bba682

Please sign in to comment.