Skip to content

Commit

Permalink
Merge pull request #16 from juukie/juukie-dots
Browse files Browse the repository at this point in the history
Add dot at the end of all sentences.
  • Loading branch information
freekmurze committed Oct 12, 2017
2 parents 53b118f + f02b6fb commit 8dbab14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Exceptions/WebhookFailed.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class WebhookFailed extends Exception
{
public static function missingSignature()
{
return new static('The request did not contain a header named `Stripe-Signature`');
return new static('The request did not contain a header named `Stripe-Signature`.');
}

public static function invalidSignature($signature)
Expand All @@ -24,7 +24,7 @@ public static function signingSecretNotSet()

public static function jobClassDoesNotExist(string $jobClass, StripeWebhookCall $webhookCall)
{
return new static("Could not process webhook id `{$webhookCall->id}` of type `{$webhookCall->type} because the configured jobclass `$jobClass` does not exist");
return new static("Could not process webhook id `{$webhookCall->id}` of type `{$webhookCall->type} because the configured jobclass `$jobClass` does not exist.");
}

public static function missingType(StripeWebhookCall $webhookCall)
Expand Down
2 changes: 1 addition & 1 deletion tests/Middlewares/VerifySignatureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function it_will_fail_when_the_signature_header_is_not_set()
$response
->assertStatus(400)
->assertJson([
'error' => 'The request did not contain a header named `Stripe-Signature`',
'error' => 'The request did not contain a header named `Stripe-Signature`.',
]);
}

Expand Down

0 comments on commit 8dbab14

Please sign in to comment.