1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 10:07:52 +01:00

Fix some stub docblocks that were thowing parse errors

This commit is contained in:
robchett 2023-10-26 14:58:38 +01:00 committed by Robert Chettleburgh
parent 70a83c8e2a
commit f507838ba8
2 changed files with 3 additions and 3 deletions

View File

@ -477,7 +477,7 @@ class EmptyIterator implements Iterator {
} }
/** /**
* @template-extends SeekableIterator<string, FilesystemIterator|SplFileInfo|string> * @template-extends DirectoryIterator<string, FilesystemIterator|SplFileInfo|string>
*/ */
class FilesystemIterator extends DirectoryIterator class FilesystemIterator extends DirectoryIterator
{ {
@ -523,7 +523,7 @@ class FilesystemIterator extends DirectoryIterator
/** /**
* @template-extends SeekableIterator<string, GlobIterator|SplFileInfo|string> * @template-extends FilesystemIterator<string, GlobIterator|SplFileInfo|string>
*/ */
class GlobIterator extends FilesystemIterator implements Countable { class GlobIterator extends FilesystemIterator implements Countable {
/** /**

View File

@ -496,7 +496,7 @@ class ReflectionProperty implements Reflector
public function isDefault(): bool {} public function isDefault(): bool {}
/** /**
* @return int-mask-of<self::IS_> * @return int-mask-of<self::IS_*>
* @psalm-pure * @psalm-pure
*/ */
public function getModifiers(): int {} public function getModifiers(): int {}