Skip to content

Commit

Permalink
fix: return type for dd funcion
Browse files Browse the repository at this point in the history
  • Loading branch information
yalsicor committed Sep 12, 2024
1 parent 67e650f commit d5833e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function dumpDatabaseQueries(): void
/**
* Dump and die the database queries.
*/
protected function ddDatabaseQueries(): void
protected function ddDatabaseQueries(): never

Check warning on line 44 in src/Traits/TestTraits/PhpUnit/TestDatabaseProfilerTrait.php

View check run for this annotation

Codecov / codecov/patch

src/Traits/TestTraits/PhpUnit/TestDatabaseProfilerTrait.php#L44

Added line #L44 was not covered by tests
{
dd($this->getDatabaseQueries());

Check warning on line 46 in src/Traits/TestTraits/PhpUnit/TestDatabaseProfilerTrait.php

View check run for this annotation

Codecov / codecov/patch

src/Traits/TestTraits/PhpUnit/TestDatabaseProfilerTrait.php#L46

Added line #L46 was not covered by tests
}
Expand Down

0 comments on commit d5833e0

Please sign in to comment.