We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eddc27 commit 119093aCopy full SHA for 119093a
src/Windows/Window.php
@@ -186,16 +186,12 @@ public function maximizable($maximizable = true): static
186
187
public function minimized(): static
188
{
189
- $this->afterOpen(fn () => WindowFacade::minimize($this->id));
190
-
191
- return $this;
+ return $this->afterOpen(fn () => WindowFacade::minimize($this->id));
192
}
193
194
public function maximized(): static
195
196
- $this->afterOpen(fn () => WindowFacade::maximize($this->id));
197
198
+ return $this->afterOpen(fn () => WindowFacade::maximize($this->id));
199
200
201
public function closable($closable = true): static
0 commit comments