Skip to content

Commit

Permalink
Fix: return type mismatch between screen facade and screen class meth…
Browse files Browse the repository at this point in the history
…ods. (#463)
  • Loading branch information
kondi3 authored Jan 11, 2025
1 parent 2bd2887 commit 36abbb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Screen.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ public function displays(): array
return $this->client->get('screen/displays')->json('displays');
}

public function primary(): object
public function primary(): array
{
return $this->client->get('screen/primary-display')->json('primaryDisplay');
}

public function active(): object
public function active(): array
{
return $this->client->get('screen/active')->json();
}
Expand Down

0 comments on commit 36abbb6

Please sign in to comment.