Skip to content

Commit f21cdf6

Browse files
committed
Use $this
1 parent b129c82 commit f21cdf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/ShutdownFunctionService.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct(
1818

1919
public function register(): void
2020
{
21-
register_shutdown_function([self::class, 'shutdownHandler']);
21+
register_shutdown_function([$this, 'shutdownHandler']);
2222
}
2323

2424
public function shutdownHandler(): void

0 commit comments

Comments
 (0)