File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 66require_once (__DIR__ . '/../vendor/autoload.php ' );
77
88use phpDocumentor \Reflection \DocBlock \Serializer ;
9- use phpDocumentor \Reflection \DocBlock \Tags \ Factory \ StaticMethod ;
9+ use phpDocumentor \Reflection \DocBlock \Tag ;
1010use phpDocumentor \Reflection \DocBlockFactory ;
1111use phpDocumentor \Reflection \DocBlock \Description ;
1212use phpDocumentor \Reflection \DocBlock \DescriptionFactory ;
3030 * documentation in the form of a Value Object whose properties should not be changed after instantiation (it should be
3131 * immutable).
3232 *
33- * > Important: Tag classes that act as Factories using the `create` method should implement the TagFactory interface.
33+ * > Important: Tag classes that act as Factories using the `create` method should implement the Tag interface.
34+ * > Instead, you could extend the abstract class BaseTag that already implements the Tag interface
3435 */
35- final class MyTag extends BaseTag implements StaticMethod
36+ final class MyTag extends BaseTag
3637{
3738 /**
3839 * A required property that is used by Formatters to reconstitute the complete tag line.
You can’t perform that action at this time.
0 commit comments