mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -7,12 +7,7 @@
|
||||
|
||||
class CronRule implements ValidationRule
|
||||
{
|
||||
private bool $acceptCustom;
|
||||
|
||||
public function __construct(bool $acceptCustom = false)
|
||||
{
|
||||
$this->acceptCustom = $acceptCustom;
|
||||
}
|
||||
public function __construct(private readonly bool $acceptCustom = false) {}
|
||||
|
||||
public function validate(string $attribute, mixed $value, \Closure $fail): void
|
||||
{
|
||||
|
Reference in New Issue
Block a user