From 580770fafaba0d449f3c5ee6ed92a31dbec8f006 Mon Sep 17 00:00:00 2001 From: robchett Date: Thu, 26 Oct 2023 14:58:38 +0100 Subject: [PATCH] Fix some stub docblocks that were thowing parse errors --- stubs/CoreGenericIterators.phpstub | 4 ++-- stubs/Reflection.phpstub | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stubs/CoreGenericIterators.phpstub b/stubs/CoreGenericIterators.phpstub index 43a7bb1f85c..8d38f399c62 100644 --- a/stubs/CoreGenericIterators.phpstub +++ b/stubs/CoreGenericIterators.phpstub @@ -477,7 +477,7 @@ class EmptyIterator implements Iterator { } /** - * @template-extends SeekableIterator + * @template-extends DirectoryIterator */ class FilesystemIterator extends DirectoryIterator { @@ -523,7 +523,7 @@ class FilesystemIterator extends DirectoryIterator /** - * @template-extends SeekableIterator + * @template-extends FilesystemIterator */ class GlobIterator extends FilesystemIterator implements Countable { /** diff --git a/stubs/Reflection.phpstub b/stubs/Reflection.phpstub index 3e86431e581..4007be3f007 100644 --- a/stubs/Reflection.phpstub +++ b/stubs/Reflection.phpstub @@ -496,7 +496,7 @@ class ReflectionProperty implements Reflector public function isDefault(): bool {} /** - * @return int-mask-of + * @return int-mask-of * @psalm-pure */ public function getModifiers(): int {}