mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 02:47:02 +01:00
20 lines
492 B
PHP
20 lines
492 B
PHP
<?php
|
|
namespace PHPSTORM_META {
|
|
|
|
override(\Ns\MyClass::crEate(0), map([
|
|
'' => '@',
|
|
'exception' => \Exception::class,
|
|
'object' => \stdClass::class,
|
|
]));
|
|
override(\create(0), map([
|
|
'' => '@',
|
|
'exception' => \Exception::class,
|
|
'object' => \stdClass::class,
|
|
]));
|
|
|
|
override(\Ns\MyClass::foO(0), type(0));
|
|
override(\Ns\MyClass::Bar(0), elementType(0));
|
|
override(\foo(0), type(0));
|
|
override(\bar(0), elementType(0));
|
|
}
|