chore: coding style

This commit is contained in:
Nuno Maduro
2023-07-15 15:11:03 +01:00
parent 21a04fefcf
commit c7e6df7c95
10 changed files with 11 additions and 11 deletions

View File

@ -18,7 +18,7 @@ final class Closure
*
* @throws ShouldNotHappen
*/
public static function bind(BaseClosure|null $closure, ?object $newThis, object|string|null $newScope = 'static'): BaseClosure
public static function bind(?BaseClosure $closure, ?object $newThis, object|string|null $newScope = 'static'): BaseClosure
{
if ($closure == null) {
throw ShouldNotHappen::fromMessage('Could not bind null closure.');