Skip to content

Regarding PHP 7.1.x Nullable Types - Space being added between ? & type #39

@rbargerhuff

Description

@rbargerhuff

Upgraded an internal module to work with Backdrop CMS and afterwards noticed that a space has been added between the question mark and the type. I'm not sure if this is intended behavior or not.

Example:

public static function logEntry(? string $logMessage) {

Preferred:

public static function logEntry(?string $logMessage) {

Again, not sure if this is a bug.

Thank you and cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions