We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c48eb commit b2720eaCopy full SHA for b2720ea
src/Tag/InvalidTag.php
@@ -4,7 +4,7 @@
4
5
namespace TypeLang\PHPDoc\Tag;
6
7
-final class InvalidTag extends Tag
+final class InvalidTag extends Tag implements InvalidTagInterface
8
{
9
/**
10
* @var non-empty-string
src/Tag/InvalidTagInterface.php
@@ -0,0 +1,13 @@
1
+<?php
2
+
3
+declare(strict_types=1);
+namespace TypeLang\PHPDoc\Tag;
+interface InvalidTagInterface extends TagInterface
+{
+ /**
+ * Returns the reason why this tag is invalid.
11
+ */
12
+ public function getReason(): \Throwable;
13
+}
0 commit comments