Skip to content

Commit 0f9a5f5

Browse files
committed
Fix code style issues
- Add trailing comma in array parameter - Fix method chaining indentation
1 parent 95df39f commit 0f9a5f5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Activity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function webhookUrl(string $signalMethod = ''): string
8484

8585
$signal = Str::kebab($signalMethod);
8686
return route("workflows.signal.{$workflow}.{$signal}", [
87-
'workflowId' => $this->storedWorkflow->id
87+
'workflowId' => $this->storedWorkflow->id,
8888
]);
8989
}
9090

tests/Unit/WebhooksTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ public function testResolveNamedParametersUsesDefaults()
314314
public function testWebhookRegistration()
315315
{
316316
$routeMock = Mockery::mock();
317-
$routeMock->shouldReceive('name')->andReturnSelf();
317+
$routeMock->shouldReceive('name')
318+
->andReturnSelf();
318319

319320
Route::shouldReceive('post')
320321
->times(4)

0 commit comments

Comments
 (0)