mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
36 lines
610 B
Plaintext
36 lines
610 B
Plaintext
<?php
|
|
namespace {
|
|
interface UnitEnum {
|
|
/** @var non-empty-string $name */
|
|
public readonly string $name;
|
|
|
|
/** @return non-empty-list<static> */
|
|
public static function cases(): array;
|
|
}
|
|
}
|
|
|
|
namespace FTP {
|
|
final class Connection {}
|
|
}
|
|
|
|
namespace IMAP {
|
|
final class Connection {}
|
|
}
|
|
|
|
namespace LDAP {
|
|
final class Connection {}
|
|
final class Result {}
|
|
final class ResultEntry {}
|
|
}
|
|
|
|
namespace PgSql {
|
|
final class Connection {}
|
|
final class Result {}
|
|
final class Lob {}
|
|
}
|
|
|
|
namespace PSpell {
|
|
final class Config {}
|
|
final class Dictionary {}
|
|
}
|