Skip to content

Commit 98a1b32

Browse files
committed
Resolve upstream conflict
2 parents ce4b9c3 + c048c6c commit 98a1b32

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

src/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class Event implements WebhookEvent
1616
/**
1717
* Create new Event.
1818
*
19-
* @param array $attributes
19+
* @param array $attributes
2020
*/
2121
public function __construct($attributes)
2222
{

src/Jobs/HandleDelivered.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class HandleDelivered
2020
/**
2121
* Create new Job.
2222
*
23-
* @param Spatie\WebhookClient\Models\WebhookCall $webhookCall
23+
* @param Spatie\WebhookClient\Models\WebhookCall $webhookCall
2424
*/
2525
public function __construct(WebhookCall $webhookCall)
2626
{

src/LobSignatureValidator.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ class LobSignatureValidator implements SignatureValidator
2626
/**
2727
* True if the signature has been valiates.
2828
*
29-
* @param Illuminate\Http\Request $request
30-
* @param Spatie\WebhookClient\WebhookConfig $config
31-
*
29+
* @param Illuminate\Http\Request $request
30+
* @param Spatie\WebhookClient\WebhookConfig $config
3231
* @return bool
3332
*/
3433
public function isValid(Request $request, WebhookConfig $config): bool
@@ -53,7 +52,7 @@ public function isValid(Request $request, WebhookConfig $config): bool
5352
/**
5453
* Compile the payload.
5554
*
56-
* @param Illuminate\Http\Request $request
55+
* @param Illuminate\Http\Request $request
5756
* @return string
5857
*/
5958
protected function payload(Request $request): string

src/LobWebhooksController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class LobWebhooksController
1212
/**
1313
* Invoke controller method.
1414
*
15-
* @param \Illuminate\Http\Request $request
16-
* @param string|null $configKey
15+
* @param \Illuminate\Http\Request $request
16+
* @param string|null $configKey
1717
* @return \Illuminate\Http\Response
1818
*/
1919
public function __invoke(Request $request, string $configKey = null)

src/Webhook.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ class Webhook
88
* Validate and raise an appropriate event.
99
*
1010
* @param $payload
11-
* @param array $signature
12-
* @param string $secret
11+
* @param array $signature
12+
* @param string $secret
1313
* @return BinaryCats\LobWebhooks\Event
1414
*/
1515
public static function constructEvent(array $payload, array $signature, string $secret): Event

src/WebhookSignature.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public static function make($signatureArray, string $secret): self
5353
* True if the signature is valid.
5454
*
5555
* @return bool
56+
*
5657
* @throws BinaryCats\LobWebhooks\Exceptions\SignatureVerificationException when validation fails
5758
*/
5859
public function verify(): bool
@@ -82,7 +83,7 @@ protected function computeSignature()
8283
/**
8384
* Magically access items from signature array.
8485
*
85-
* @param string $attribute
86+
* @param string $attribute
8687
* @return mixed
8788
*/
8889
public function __get($attribute)

tests/TestCase.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function setUp(): void
2121
/**
2222
* Set up the environment.
2323
*
24-
* @param \Illuminate\Foundation\Application $app
24+
* @param \Illuminate\Foundation\Application $app
2525
*/
2626
protected function getEnvironmentSetUp($app)
2727
{
@@ -45,8 +45,7 @@ protected function setUpDatabase()
4545
}
4646

4747
/**
48-
* @param \Illuminate\Foundation\Application $app
49-
*
48+
* @param \Illuminate\Foundation\Application $app
5049
* @return array
5150
*/
5251
protected function getPackageProviders($app)
@@ -58,7 +57,8 @@ protected function getPackageProviders($app)
5857

5958
protected function disableExceptionHandling()
6059
{
61-
$this->app->instance(ExceptionHandler::class, new class extends Handler {
60+
$this->app->instance(ExceptionHandler::class, new class extends Handler
61+
{
6262
public function __construct()
6363
{
6464
}
@@ -77,9 +77,9 @@ public function render($request, Exception $exception)
7777
/**
7878
* Compile lob.com siangure.
7979
*
80-
* @param array $payload
81-
* @param int $timestamp
82-
* @param string|null $configKey
80+
* @param array $payload
81+
* @param int $timestamp
82+
* @param string|null $configKey
8383
* @return string
8484
*/
8585
protected function determineLobSignature(array $payload, $timestamp, string $configKey = null): string

0 commit comments

Comments
 (0)