Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
webong committed Mar 1, 2023
1 parent 4abf6c2 commit e0cbf6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
3 changes: 1 addition & 2 deletions app/Passport/ClientRepository.php
Expand Up @@ -109,8 +109,7 @@ public function create(
$personalAccess = false,
$password = false,
$confidential = true
)
{
) {
$client = (new Client)->forceFill([
'user_id' => $userId,
'name' => $name,
Expand Down
18 changes: 8 additions & 10 deletions tests/Unit/Core/Usecase/ReceiveMessageTest.php
Expand Up @@ -39,17 +39,15 @@ public function setUp(): void
$this->formAttributeRepo = M::mock(FormAttributeRepository::class);

$this->app->instance(CreatePostFromMessage::class, new CreatePostFromMessage(
$this->messageRepo,
$this->targetedSurveyStateRepo,
$this->postRepo
)
);
$this->messageRepo,
$this->targetedSurveyStateRepo,
$this->postRepo
));
$this->app->instance(HandleTargetedSurveyResponse::class, new HandleTargetedSurveyResponse(
$this->messageRepo,
$this->targetedSurveyStateRepo,
$this->formAttributeRepo
)
);
$this->messageRepo,
$this->targetedSurveyStateRepo,
$this->formAttributeRepo
));

$events = app('events');
$events->subscribe(Subscriber::class);
Expand Down

0 comments on commit e0cbf6f

Please sign in to comment.