-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In the following example the PHP type is ?PhotoSize, but in the PhpDoc it only says PhotoSize.
I think the ?PhotoSize comes from the Laravel Pint reformatting after generation, because it recognizes the = null and adjusts the type accordingly.
But it would be nice to be consistent with both.
Probably both can be achieved by checking if the type is optional in Type::buildPhpType and Type::buildDocType. (Needs to be passed in \App\Telegram\Types\Field)
Metadata
Metadata
Assignees
Labels
No labels