Skip to content

Commit d7ed07e

Browse files
committed
Align naming.
1 parent 20cc664 commit d7ed07e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Constraints/SendScheduleConstraint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
interface SendScheduleConstraint
99
{
10-
public function canSend(MailatorSchedule $mailatorSchedule, Collection $logs): bool;
10+
public function canSend(MailatorSchedule $schedule, Collection $logs): bool;
1111
}

tests/Fixtures/BeforeInvoiceExpiresConstraint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class BeforeInvoiceExpiresConstraint implements SendScheduleConstraint
1010
{
11-
public function canSend(MailatorSchedule $mailatorSchedule, Collection $log): bool
11+
public function canSend(MailatorSchedule $schedule, Collection $log): bool
1212
{
1313
return true;
1414
}

tests/Fixtures/SerializedConditionCondition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(User $user)
1515
$this->user = $user;
1616
}
1717

18-
public function canSend(MailatorSchedule $mailatorSchedule, Collection $logs): bool
18+
public function canSend(MailatorSchedule $schedule, Collection $logs): bool
1919
{
2020
return $this->user->email === '[email protected]';
2121
}

tests/Fixtures/SingleSendingCondition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class SingleSendingCondition implements SendScheduleConstraint
1010
{
11-
public function canSend(MailatorSchedule $mailatorSchedule, Collection $logs): bool
11+
public function canSend(MailatorSchedule $schedule, Collection $logs): bool
1212
{
1313
return $_SERVER['can_send'];
1414
}

0 commit comments

Comments
 (0)