File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111use Spatie \LaravelData \Support \Validation \ValidationPath ;
1212
1313/**
14- * @method static array rules(ValidationContext $context)
14+ * @method static array rules(ValidationContext $context=null )
1515 * @method static array messages(...$args)
1616 * @method static array attributes(...$args)
1717 * @method static bool stopOnFirstFailure()
Original file line number Diff line number Diff line change 22
33/** @noinspection PhpExpressionResultUnusedInspection */
44
5- use Spatie \LaravelData \Support \Creation \CreationContextFactory ;
5+ use function PHPStan \Testing \assertType ;
6+
67use Spatie \LaravelData \Tests \Fakes \SimpleData ;
78use Spatie \LaravelData \Tests \Fakes \SimpleDto ;
89use Spatie \LaravelData \Tests \Fakes \SimpleResource ;
9- use function PHPStan \Testing \assertType ;
1010
1111$ data = SimpleData::from ('Hello World ' );
1212assertType (SimpleData::class, $ data );
You can’t perform that action at this time.
0 commit comments