Skip to content

Commit

Permalink
change signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsupplee committed Aug 12, 2022
1 parent 8a4e99e commit fd328db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ast/AST.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ protected function clone(callable $fnOnClone)
*
* @return PhpFile
*/
public static function file(PhpClass $class = null): PhpFile
public static function file(?PhpClass $class): PhpFile
{
return new PhpFile($class);
}
Expand Down

0 comments on commit fd328db

Please sign in to comment.