@@ -311,7 +311,7 @@ private function parseTypes(ArrayIterator $tokens, Context $context, int $parser
311311 *
312312 * @return Type|Array_|Object_
313313 *
314- * @psalm-pure
314+ * @psalm-mutation-free
315315 */
316316 private function resolveSingleType (string $ type , Context $ context ) : object
317317 {
@@ -362,7 +362,7 @@ public function addKeyword(string $keyword, string $typeClassName) : void
362362 *
363363 * @param string $type A relative or absolute type as defined in the phpDocumentor documentation.
364364 *
365- * @psalm-pure
365+ * @psalm-mutation-free
366366 */
367367 private function isKeyword (string $ type ) : bool
368368 {
@@ -374,7 +374,7 @@ private function isKeyword(string $type) : bool
374374 *
375375 * @param string $type A relative or absolute type as defined in the phpDocumentor documentation.
376376 *
377- * @psalm-pure
377+ * @psalm-mutation-free
378378 */
379379 private function isPartialStructuralElementName (string $ type ) : bool
380380 {
@@ -384,7 +384,7 @@ private function isPartialStructuralElementName(string $type) : bool
384384 /**
385385 * Tests whether the given type is a Fully Qualified Structural Element Name.
386386 *
387- * @psalm-pure
387+ * @psalm-mutation-free
388388 */
389389 private function isFqsen (string $ type ) : bool
390390 {
@@ -394,7 +394,7 @@ private function isFqsen(string $type) : bool
394394 /**
395395 * Resolves the given keyword (such as `string`) into a Type object representing that keyword.
396396 *
397- * @psalm-pure
397+ * @psalm-mutation-free
398398 */
399399 private function resolveKeyword (string $ type ) : Type
400400 {
@@ -406,7 +406,7 @@ private function resolveKeyword(string $type) : Type
406406 /**
407407 * Resolves the given FQSEN string into an FQSEN object.
408408 *
409- * @psalm-pure
409+ * @psalm-mutation-free
410410 */
411411 private function resolveTypedObject (string $ type , ?Context $ context = null ) : Object_
412412 {
0 commit comments