File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 66
77class Alert
88{
9- protected ?string $ type ;
9+ protected ?string $ type = null ;
1010
11- protected ?string $ title ;
11+ protected ?string $ title = null ;
1212
13- protected ?string $ detail ;
13+ protected ?string $ detail = null ;
1414
15- protected ?array $ buttons ;
15+ protected ?array $ buttons = null ;
1616
17- protected ?int $ defaultId ;
17+ protected ?int $ defaultId = null ;
1818
19- protected ?int $ cancelId ;
19+ protected ?int $ cancelId = null ;
2020
2121 final public function __construct (protected Client $ client ) {}
2222
23- public static function new ()
23+ public static function new (): self
2424 {
2525 return new static (new Client );
2626 }
Original file line number Diff line number Diff line change 55use Illuminate \Support \Facades \Facade ;
66
77/**
8+ * @method static static new()
89 * @method static static type(string $type)
910 * @method static static title(string $title)
1011 * @method static static detail(string $detail)
You can’t perform that action at this time.
0 commit comments