refactor: auto refactor via rector

This commit is contained in:
idevakk
2025-09-29 01:08:34 +05:30
parent 744e0bb9bb
commit 21664b1a3e
26 changed files with 55 additions and 68 deletions

View File

@@ -26,9 +26,7 @@ pest()->extend(Tests\TestCase::class)
|
*/
expect()->extend('toBeOne', function () {
return $this->toBe(1);
});
expect()->extend('toBeOne', fn() => $this->toBe(1));
/*
|--------------------------------------------------------------------------
@@ -41,7 +39,7 @@ expect()->extend('toBeOne', function () {
|
*/
function something()
function something(): void
{
// ..
}