Project

General

Profile

Actions

Bug #102680

open

new ClassSchema(FlashMessage::class) throw exception Call to undefined method phpDocumentor\Reflection\DocBlock\Tags\InvalidTag::getType()

Added by Alexander Grein 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2023-12-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Using the extbase class TYPO3\CMS\Extbase\Reflection\ClassSchema to get the schema of the class TYPO3\CMS\Core\Messaging\FlashMessage throw the following exception:
```
Call to undefined method phpDocumentor\Reflection\DocBlock\Tags\InvalidTag::getType()
```
The cause is this @param annotation:
```
@param int|value-of<ContextualFeedbackSeverity>|ContextualFeedbackSeverity $severity
```

Actions #1

Updated by Alexander Grein 5 months ago

  • Subject changed from new ClassSchema(FlashMessage::class) throw exception to new ClassSchema(FlashMessage::class) throw exception Call to undefined method phpDocumentor\Reflection\DocBlock\Tags\InvalidTag::getType()
Actions #2

Updated by Alexander Grein 5 months ago

Alexander Grein wrote:

Using the extbase class TYPO3\CMS\Extbase\Reflection\ClassSchema to get the schema of the class TYPO3\CMS\Core\Messaging\FlashMessage throw the following exception:
```
Call to undefined method phpDocumentor\Reflection\DocBlock\Tags\InvalidTag::getType()
```
The cause is this @param annotation:
```
@param int|value-of<ContextualFeedbackSeverity>|ContextualFeedbackSeverity $severity
```

If I change it to this, it works:
@param int|ContextualFeedbackSeverity $severity

Actions

Also available in: Atom PDF