Page MenuHomeWickedGov Phorge

UnknownType.php
No OneTemporary

Size
779 B
Referenced Files
None
Subscribers
None

UnknownType.php

<?php declare(strict_types=1);
/*
* This file is part of sebastian/type.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianBergmann\Type;
final class UnknownType extends Type
{
public function isAssignable(Type $other): bool
{
return true;
}
public function name(): string
{
return 'unknown type';
}
public function asString(): string
{
return '';
}
public function allowsNull(): bool
{
return true;
}
/**
* @psalm-assert-if-true UnknownType $this
*/
public function isUnknown(): bool
{
return true;
}
}

File Metadata

Mime Type
text/x-php
Expires
Oct 4 2026, 11:01 (5 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
06/46/78f55c8ae782e54f7cfa1386d437
Default Alt Text
UnknownType.php (779 B)

Event Timeline