Skip to content

Commit

Permalink
Add missing return type. Remove waistful new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleymartincc committed Dec 7, 2022
1 parent 9595906 commit 2c9f51e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion tests/Feature/ConversationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
final class ConversationTest extends TestCase
{
private array $userIds;

private array $conversations;

public function setUp(): void
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
final class MessageTest extends TestCase
{
private string $conversationId;

private string $senderId;

private array $messages;

protected function setUp(): void
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
final class UserTest extends TestCase
{
private string $userId;

private array $userDetails;

private array $userConversations;

protected function setUp(): void
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
abstract class TestCase extends BaseTestCase
{
protected array $defaultMockResponseHeaders;

protected array $defaultFilters;

protected function setUp(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ConversationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function testCreateManyFromArray(): void
}
}

public function testUnreadBy()
public function testUnreadBy(): void
{
$conversation1 = new Conversation($this->conversations[0]);
$conversation2 = new Conversation($this->conversations[1]);
Expand Down
3 changes: 0 additions & 3 deletions tests/Unit/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@
final class MessageTest extends TestCase
{
private string $senderId;

private array $messages;

private Message $message1;

private Message $message2;

protected function setUp(): void
Expand Down

0 comments on commit 2c9f51e

Please sign in to comment.