@@ -80,9 +80,9 @@ public function getTagException(string $message, ?\Throwable $previous = null):
8080 }
8181
8282 /**
83- * @param non-empty-string $tag
84- *
8583 * @api
84+ *
85+ * @param non-empty-string $tag
8686 */
8787 public function nextType (string $ tag , TypesParserInterface $ parser ): TypeStatement
8888 {
@@ -98,53 +98,58 @@ public function nextOptionalType(TypesParserInterface $parser): ?TypeStatement
9898 }
9999
100100 /**
101+ * @api
102+ *
101103 * @param non-empty-string $tag
102104 *
103105 * @return non-empty-string
104- * @api
105106 */
106107 public function nextIdentifier (string $ tag ): string
107108 {
108109 return $ this ->apply (new IdentifierApplicator ($ tag ));
109110 }
110111
111112 /**
112- * @return non-empty-string|null
113113 * @api
114+ *
115+ * @return non-empty-string|null
114116 */
115117 public function nextOptionalIdentifier (): ?string
116118 {
117119 return $ this ->apply (new OptionalIdentifierApplicator ());
118120 }
119121
120122 /**
123+ * @api
124+ *
121125 * @param non-empty-string $tag
122126 *
123127 * @return non-empty-string
124- * @api
125128 */
126129 public function nextVariable (string $ tag ): string
127130 {
128131 return $ this ->apply (new VariableNameApplicator ($ tag ));
129132 }
130133
131134 /**
132- * @return non-empty-string|null
133135 * @api
136+ *
137+ * @return non-empty-string|null
134138 */
135139 public function nextOptionalVariable (): ?string
136140 {
137141 return $ this ->apply (new OptionalVariableNameApplicator ());
138142 }
139143
140144 /**
145+ * @api
146+ *
141147 * @template T of non-empty-string
142148 *
143149 * @param non-empty-string $tag
144150 * @param T $value
145151 *
146152 * @return T
147- * @api
148153 */
149154 public function nextValue (string $ tag , string $ value ): string
150155 {
@@ -153,12 +158,13 @@ public function nextValue(string $tag, string $value): string
153158 }
154159
155160 /**
161+ * @api
162+ *
156163 * @template T of non-empty-string
157164 *
158165 * @param T $value
159166 *
160167 * @return T|null
161- * @api
162168 */
163169 public function nextOptionalValue (string $ value ): ?string
164170 {
0 commit comments