Skip to content

Commit 02c4fe6

Browse files
committed
Fixed conflicts and handled Verbs breaking change
1 parent 392b23c commit 02c4fe6

File tree

4 files changed

+32
-31
lines changed

4 files changed

+32
-31
lines changed

composer.lock

+29-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/hallway-core/src/Calendar/Events/GatheringCreated.php

-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
use ArtisanBuild\VerbsFlux\Attributes\EventInput;
1717
use ArtisanBuild\VerbsFlux\Enums\InputTypes;
1818
use Carbon\Carbon;
19-
use Thunk\Verbs\Attributes\Autodiscovery\AppliesToSingletonState;
2019
use Thunk\Verbs\Attributes\Autodiscovery\StateId;
2120
use Thunk\Verbs\Event;
2221

23-
#[AppliesToSingletonState(CalendarRangeState::class)]
2422
#[EventForm(
2523
submit_text: 'Create New Gathering',
2624
has_time_machine: true,

packages/hallway-core/src/Calendar/States/CalendarRangeState.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
namespace ArtisanBuild\Hallway\Calendar\States;
66

77
use Carbon\Carbon;
8-
use Thunk\Verbs\State;
8+
use Thunk\Verbs\SingletonState;
99

10-
class CalendarRangeState extends State
10+
class CalendarRangeState extends SingletonState
1111
{
1212
public ?Carbon $first_gathering_start = null;
1313

packages/till/src/Listeners/AuthorizesLedgerTransactionsListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class AuthorizesLedgerTransactionsListener
1616
{
17-
#[On(Phase::Boot)]
17+
#[On(Phase::Authorize)]
1818
public function authorizeLedgerTransaction(Event $event): void
1919
{
2020
$reflection = new ReflectionClass($event);

0 commit comments

Comments
 (0)