Skip to content
Snippets Groups Projects
Commit 25bdb918 authored by Oliver Klee's avatar Oliver Klee Committed by Nikita Hovratov
Browse files

[TASK] Improve type annotations in Extbase\Annotation classes

Resolves: #99136
Releases: main, 11.5
Change-Id: I7851afb5f6417bb538895768fe4ae35d8b75d0b9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76700


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
parent 1c090bb9
Branches
Tags
No related merge requests found
......@@ -25,12 +25,12 @@ namespace TYPO3\CMS\Extbase\Annotation;
class IgnoreValidation
{
/**
* @var string
* @var non-empty-string|null
*/
public $argumentName;
/**
* @param array $values
* @param array{value?: mixed, argumentName?: non-empty-string} $values
* @throws \InvalidArgumentException
*/
public function __construct(array $values)
......
......@@ -35,7 +35,7 @@ class Cascade
public $value;
/**
* @param array $values
* @param array{value?: mixed} $values
*/
public function __construct(array $values)
{
......
......@@ -38,12 +38,12 @@ class Validate
public $param = '';
/**
* @var array
* @var array<string, mixed>
*/
public $options = [];
/**
* @param array $values
* @param array{value?: mixed, validator?: string, options?: array<string, mixed>, param?: string} $values
*/
public function __construct(array $values)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment