1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/tests/fixtures/stubs/phpstorm.meta.php

20 lines
492 B
PHP
Raw Normal View History

<?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));
}