1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-29 20:28:59 +01:00

use coherent annotations (#5031)

This commit is contained in:
orklah 2021-01-17 16:54:45 +01:00 committed by Daniil Gentili
parent d81d57a30e
commit 2a682c1f36
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -405,7 +405,7 @@ class CallbackFilterIterator extends FilterIterator implements OuterIterator {
} }
/** /**
* @psalm-implements SeekableIterator<int, DirectoryIterator> * @template-implements SeekableIterator<int, DirectoryIterator>
*/ */
class DirectoryIterator extends SplFileInfo implements SeekableIterator { class DirectoryIterator extends SplFileInfo implements SeekableIterator {
@ -469,7 +469,7 @@ class EmptyIterator implements Iterator {
} }
/** /**
* @psalm-extends SeekableIterator<string, FilesystemIterator|SplFileInfo|string> * @template-extends SeekableIterator<string, FilesystemIterator|SplFileInfo|string>
*/ */
class FilesystemIterator extends DirectoryIterator class FilesystemIterator extends DirectoryIterator
{ {
@ -515,7 +515,7 @@ class FilesystemIterator extends DirectoryIterator
/** /**
* @psalm-extends SeekableIterator<string, GlobIterator|SplFileInfo|string> * @template-extends SeekableIterator<string, GlobIterator|SplFileInfo|string>
*/ */
class GlobIterator extends FilesystemIterator implements Countable { class GlobIterator extends FilesystemIterator implements Countable {
/** /**