mirror of
https://github.com/pestphp/pest.git
synced 2026-09-06 23:03:34 +02:00
chore: coding style changes
This commit is contained in:
@@ -11,9 +11,6 @@ use Closure;
|
||||
*/
|
||||
final class NullClosure
|
||||
{
|
||||
/**
|
||||
* Creates a nullable closure.
|
||||
*/
|
||||
public static function create(): Closure
|
||||
{
|
||||
return Closure::fromCallable(function (): void {});
|
||||
|
||||
Reference in New Issue
Block a user