Skip to content

Commit 36abbb6

Browse files
Fix: return type mismatch between screen facade and screen class methods. (#463)
1 parent 2bd2887 commit 36abbb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Screen.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ public function displays(): array
1818
return $this->client->get('screen/displays')->json('displays');
1919
}
2020

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

26-
public function active(): object
26+
public function active(): array
2727
{
2828
return $this->client->get('screen/active')->json();
2929
}

0 commit comments

Comments
 (0)