Add doctypes
This commit is contained in:
parent
f19f748c11
commit
6ba8809f95
app
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue