File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ public function __construct(protected Client $client) {}
1212 public function register (): void
1313 {
1414 Event::listen ('* ' , function (string $ eventName , array $ data ) {
15-
1615 $ event = $ data [0 ] ?? (object ) null ;
1716
1817 if (! method_exists ($ event , 'broadcastOn ' )) {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class Window
2424
2525 protected bool $ kiosk = false ;
2626
27- protected $ rememberState = false ;
27+ protected bool $ rememberState = false ;
2828
2929 protected bool $ alwaysOnTop = false ;
3030
@@ -362,4 +362,9 @@ public function fromRuntimeWindow(object $window): static
362362
363363 return $ this ;
364364 }
365+
366+ public function __get ($ var )
367+ {
368+ return $ this ->$ var ?? null ;
369+ }
365370}
You can’t perform that action at this time.
0 commit comments