Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ctwillie authored and actions-user committed Aug 27, 2021
1 parent 38df151 commit b339cc1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/ExpoMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class ExpoMessage
/** @var bool */
private $mutableContent = false;


/**
* Sets the data for the message
*
Expand Down
6 changes: 3 additions & 3 deletions src/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ public function read()
public function write(object $contents)
{
$exception = new UnableToWriteFileException(sprintf(
'Unable to write file at %s.',
$this->path
));
'Unable to write file at %s.',
$this->path
));

if (! file_exists($this->path)) {
throw $exception;
Expand Down
2 changes: 1 addition & 1 deletion tests/ExpoMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function you_can_set_message_attributes()
"badge" => 0,
"channelId" => "default",
"categoryId" => "category-id",
"mutableContent" => true
"mutableContent" => true,
],
$message->toArray()
);
Expand Down
2 changes: 1 addition & 1 deletion tests/FileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function throws_exception_if_unable_to_read_file()
$file->read();
}

/** @test */
/** @test */
public function throws_exception_if_unable_to_write_file()
{
$file = fopen($this->testPath, "w");
Expand Down
1 change: 0 additions & 1 deletion tests/UtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ public function can_identify_valid_expo_tokens()
Utils::isExpoPushToken('ExponentPushToken[aaaabbbbccccdddd]')
);
}

}

0 comments on commit b339cc1

Please sign in to comment.