chore: style changes

This commit is contained in:
Nuno Maduro
2023-07-12 21:09:40 +01:00
parent 3f352605ca
commit c42541a3d9
9 changed files with 10 additions and 10 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.');