Skip to content

some syntax error  #1111

Closed
Closed
@xiangyi-wang

Description

Hi, the string is not recognized in this constructor. I'm not sure whether it's a syntax error or whether it doesn't support this writing method

PHP2014 Syntax error: unexpected token 'Sort' Flarum D:\Flarum\vendor\ramsey\collection\src\Sort.php 20
image
PHP2014 Syntax error: unexpected token 'string' Flarum D:\Flarum\vendor\ramsey\collection\src\Set.php 50
image

PHP4087 Argument 1 passed to is() must be of the type Pchp\Core\PhpValue, NULL given
} elseif ($def === null && !Nette\Utils\Validators::is(null, $type)) {

Metadata

Assignees

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