Skip to content

Commit

Permalink
Use native property types
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed May 18, 2021
1 parent 58cd577 commit 85f1a48
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/RakLibToUserThreadMessageReceiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
use function substr;

final class RakLibToUserThreadMessageReceiver{
/** @var InterThreadChannelReader */
private $channel;
private InterThreadChannelReader $channel;

public function __construct(InterThreadChannelReader $channel){
$this->channel = $channel;
Expand Down
3 changes: 1 addition & 2 deletions src/RakLibToUserThreadMessageSender.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@

final class RakLibToUserThreadMessageSender implements ServerEventListener{

/** @var InterThreadChannelWriter */
private $channel;
private InterThreadChannelWriter $channel;

public function __construct(InterThreadChannelWriter $channel){
$this->channel = $channel;
Expand Down
3 changes: 1 addition & 2 deletions src/UserToRakLibThreadMessageReceiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
use function substr;

final class UserToRakLibThreadMessageReceiver implements ServerEventSource{
/** @var InterThreadChannelReader */
private $channel;
private InterThreadChannelReader $channel;

public function __construct(InterThreadChannelReader $channel){
$this->channel = $channel;
Expand Down
3 changes: 1 addition & 2 deletions src/UserToRakLibThreadMessageSender.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
use function strlen;

class UserToRakLibThreadMessageSender implements ServerInterface{
/** @var InterThreadChannelWriter */
private $channel;
private InterThreadChannelWriter $channel;

public function __construct(InterThreadChannelWriter $channel){
$this->channel = $channel;
Expand Down

0 comments on commit 85f1a48

Please sign in to comment.