Skip to editor
Psalm
Docs
Playground
Plugins
Blog
Paid support
Share
Fix issues
Show original
PHP
Settings
<?php interface ModelManagerInterface { /** * @param class-string $class * @param int|string $id * * @return object|null the object with id or null if not found */ public function find(string $class, $id): ?object; } /** * @phpstan-template T of object */ final class ModelManager implements ModelManagerInterface { /** * @phpstan-param class-string<T> $class * @phpstan-return T|null */ public function find(string $class, $id): ?object { return null; } }
Issues
Types
idle
Saved May 16 2021 13:38 UTC
⌘/Ctrl+Enter
run
⌘/Ctrl+S
share
F8
/
⇧F8
next/prev issue