diff --git a/src/App.php b/src/App.php index 998479a..8a8ee69 100644 --- a/src/App.php +++ b/src/App.php @@ -37,10 +37,10 @@ public function badgeCount($count = null): int } $this->client->post('app/badge-count', [ - 'count' => (int)$count, + 'count' => (int) $count, ]); - return (int)$count; + return (int) $count; } public function addRecentDocument(string $path): void diff --git a/src/System.php b/src/System.php index d2068f4..4481931 100644 --- a/src/System.php +++ b/src/System.php @@ -6,7 +6,6 @@ class System { - public function __construct(protected Client $client) { } diff --git a/src/Window.php b/src/Window.php index 93c7567..1463c03 100644 --- a/src/Window.php +++ b/src/Window.php @@ -11,6 +11,7 @@ class Window protected string $url = ''; protected $x; + protected $y; protected int $width = 400; @@ -201,7 +202,7 @@ public function open(): void public function current() { - return (object)$this->client->get('window/current')->json(); + return (object) $this->client->get('window/current')->json(); } public function invisibleFrameless(): self