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:
parent
d81d57a30e
commit
2a682c1f36
@ -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 {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user