type = 'boolean'; $this->setNullableProperty($types[0], $property); } public function supports(array $types): bool { return 1 === count($types) && Type::BUILTIN_TYPE_BOOL === $types[0]->getBuiltinType(); } }