Add doctypes

This commit is contained in:
philipp lang 2025-03-31 01:56:18 +02:00
parent f19f748c11
commit 6ba8809f95
3 changed files with 12 additions and 3 deletions

View File

@ -17,7 +17,10 @@ class ExportData extends Data
{
}
/** @return DataEloquentCast<self> */
/**
* @param array<int, mixed> $arguments
* @return DataEloquentCast<self>
*/
public static function castUsing(array $arguments): DataEloquentCast
{
return new DataEloquentCast(static::class, $arguments);

View File

@ -44,7 +44,10 @@ class Condition extends Data
return $this->mode === ConditionMode::ALL;
}
/** @return DataEloquentCast<self> */
/**
* @param array<int, mixed> $arguments
* @return DataEloquentCast<self>
*/
public static function castUsing(array $arguments): DataEloquentCast
{
return new DataEloquentCast(static::class, $arguments);

View File

@ -85,7 +85,10 @@ class EditorData extends Data implements Editorable
return $this;
}
/** @return DataEloquentCast<self> */
/**
* @param array<int, mixed> $arguments
* @return DataEloquentCast<self>
*/
public static function castUsing(array $arguments): DataEloquentCast
{
return new DataEloquentCast(static::class, $arguments);