mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
322cff6f43
Also: * added PHP 8.2 stubs * refined types to make impossible scenarios more clear (like `ReflectionIntersectionType#allowsNull()`) This is a first attempt at refining these types: the structure of these stubs is quite confusing to me, so I don't know if this approach is correct, and if the stubs are merged together, or if entire symbols need to be completely re-declared for each PHP version.
8 lines
148 B
PHP
8 lines
148 B
PHP
<?php
|
|
namespace {
|
|
class ReflectionClass implements Reflector {
|
|
/** @psalm-pure */
|
|
public function isReadOnly(): bool {}
|
|
}
|
|
}
|