Lines Matching refs:normalizeType

120         $this->assertEquals(new Node\Identifier('array'), BuilderHelpers::normalizeType('array'));
121 … $this->assertEquals(new Node\Identifier('callable'), BuilderHelpers::normalizeType('callable'));
122 $this->assertEquals(new Node\Identifier('string'), BuilderHelpers::normalizeType('string'));
123 $this->assertEquals(new Node\Identifier('int'), BuilderHelpers::normalizeType('int'));
124 $this->assertEquals(new Node\Identifier('float'), BuilderHelpers::normalizeType('float'));
125 $this->assertEquals(new Node\Identifier('bool'), BuilderHelpers::normalizeType('bool'));
126 … $this->assertEquals(new Node\Identifier('iterable'), BuilderHelpers::normalizeType('iterable'));
127 $this->assertEquals(new Node\Identifier('void'), BuilderHelpers::normalizeType('void'));
128 $this->assertEquals(new Node\Identifier('object'), BuilderHelpers::normalizeType('object'));
129 $this->assertEquals(new Node\Identifier('null'), BuilderHelpers::normalizeType('null'));
130 $this->assertEquals(new Node\Identifier('false'), BuilderHelpers::normalizeType('false'));
131 $this->assertEquals(new Node\Identifier('mixed'), BuilderHelpers::normalizeType('mixed'));
132 $this->assertEquals(new Node\Identifier('never'), BuilderHelpers::normalizeType('never'));
133 $this->assertEquals(new Node\Identifier('true'), BuilderHelpers::normalizeType('true'));
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');
175 BuilderHelpers::normalizeType('?never');