Skip to content

PHP nullable typehinting not supported now #146

@KarelWintersky

Description

@KarelWintersky

WTF:
https://wiki.php.net/rfc/nullable_types

Error:

File: /app/vendor/symfony/config/Definition/BaseNode.php
> [Error] Syntax error, unexpected '?', expecting T_VARIABLE on line 39. Processing aborted.

Code:

    public function __construct(?string $name, NodeInterface $parent = null, array $values = array())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions