Home
last modified time | relevance | path

Searched refs:normalizeType (Results 1 – 7 of 7) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DBuilderHelpersTest.php123 $this->assertEquals(new Node\Identifier('int'), BuilderHelpers::normalizeType('int'));
136 $this->assertSame($intIdentifier, BuilderHelpers::normalizeType($intIdentifier));
139 $this->assertSame($intName, BuilderHelpers::normalizeType($intName));
142 $this->assertSame($intNullable, BuilderHelpers::normalizeType($intNullable));
145 $this->assertSame($unionType, BuilderHelpers::normalizeType($unionType));
148 $this->assertSame($intersectionType, BuilderHelpers::normalizeType($intersectionType));
151 $nullable = BuilderHelpers::normalizeType('?int');
157 BuilderHelpers::normalizeType(1);
163 BuilderHelpers::normalizeType('?void');
169 BuilderHelpers::normalizeType('?mixed');
[all …]
/PHP-Parser/lib/PhpParser/Builder/
H A DFunctionLike.php69 $this->returnType = BuilderHelpers::normalizeType($type);
H A DEnum_.php45 $this->scalarType = BuilderHelpers::normalizeType($scalarType);
H A DClassConst.php131 $this->type = BuilderHelpers::normalizeType($type);
H A DParam.php51 $this->type = BuilderHelpers::normalizeType($type);
H A DProperty.php173 $this->type = BuilderHelpers::normalizeType($type);
/PHP-Parser/lib/PhpParser/
H A DBuilderHelpers.php161 public static function normalizeType($type) { function in PhpParser\\BuilderHelpers

Completed in 7 milliseconds