@@ -311,7 +311,7 @@ private function parseTypes(ArrayIterator $tokens, Context $context, int $parser
311
311
*
312
312
* @return Type|Array_|Object_
313
313
*
314
- * @psalm-pure
314
+ * @psalm-mutation-free
315
315
*/
316
316
private function resolveSingleType (string $ type , Context $ context ) : object
317
317
{
@@ -362,7 +362,7 @@ public function addKeyword(string $keyword, string $typeClassName) : void
362
362
*
363
363
* @param string $type A relative or absolute type as defined in the phpDocumentor documentation.
364
364
*
365
- * @psalm-pure
365
+ * @psalm-mutation-free
366
366
*/
367
367
private function isKeyword (string $ type ) : bool
368
368
{
@@ -374,7 +374,7 @@ private function isKeyword(string $type) : bool
374
374
*
375
375
* @param string $type A relative or absolute type as defined in the phpDocumentor documentation.
376
376
*
377
- * @psalm-pure
377
+ * @psalm-mutation-free
378
378
*/
379
379
private function isPartialStructuralElementName (string $ type ) : bool
380
380
{
@@ -384,7 +384,7 @@ private function isPartialStructuralElementName(string $type) : bool
384
384
/**
385
385
* Tests whether the given type is a Fully Qualified Structural Element Name.
386
386
*
387
- * @psalm-pure
387
+ * @psalm-mutation-free
388
388
*/
389
389
private function isFqsen (string $ type ) : bool
390
390
{
@@ -394,7 +394,7 @@ private function isFqsen(string $type) : bool
394
394
/**
395
395
* Resolves the given keyword (such as `string`) into a Type object representing that keyword.
396
396
*
397
- * @psalm-pure
397
+ * @psalm-mutation-free
398
398
*/
399
399
private function resolveKeyword (string $ type ) : Type
400
400
{
@@ -406,7 +406,7 @@ private function resolveKeyword(string $type) : Type
406
406
/**
407
407
* Resolves the given FQSEN string into an FQSEN object.
408
408
*
409
- * @psalm-pure
409
+ * @psalm-mutation-free
410
410
*/
411
411
private function resolveTypedObject (string $ type , ?Context $ context = null ) : Object_
412
412
{
0 commit comments