Skip to content

Commit 57ba651

Browse files
committed
style: trim phpdoc blocks
1 parent fbcaec5 commit 57ba651

53 files changed

Lines changed: 1 addition & 83 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"null_adjustment": "always_last"
2424
},
2525
"phpdoc_summary": true,
26+
"phpdoc_trim": true,
2627
"phpdoc_types": true,
2728
"phpdoc_types_order": {
2829
"null_adjustment": "always_last"

src/Application/DomainEventDispatching/Dispatcher.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ public function dispatch(DomainEvent $event): void
7878

7979
/**
8080
* Dispatch the events immediately.
81-
*
8281
*/
8382
protected function dispatchNow(DomainEvent $event): void
8483
{
@@ -119,7 +118,6 @@ protected function cursor(string $eventName): Generator
119118

120119
/**
121120
* Execute the listener.
122-
*
123121
*/
124122
protected function execute(DomainEvent $event, EventHandler $listener): void
125123
{
@@ -128,7 +126,6 @@ protected function execute(DomainEvent $event, EventHandler $listener): void
128126

129127
/**
130128
* Is the provided listener valid to attach to an event?
131-
*
132129
*/
133130
private function canAttach(mixed $listener): bool
134131
{

src/Application/DomainEventDispatching/EventHandler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public function __construct(private object $listener)
3232

3333
/**
3434
* Should the handler be executed before the transaction is committed?
35-
*
3635
*/
3736
public function beforeCommit(): bool
3837
{
@@ -41,7 +40,6 @@ public function beforeCommit(): bool
4140

4241
/**
4342
* Should the handler be executed after the transaction is committed?
44-
*
4543
*/
4644
public function afterCommit(): bool
4745
{
@@ -50,7 +48,6 @@ public function afterCommit(): bool
5048

5149
/**
5250
* Execute the listener.
53-
*
5451
*/
5552
public function __invoke(DomainEvent $event): void
5653
{

src/Application/DomainEventDispatching/UnitOfWorkAwareDispatcher.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public function dispatch(DomainEvent $event): void
4242

4343
/**
4444
* Execute the listener or queue it in the unit of work manager.
45-
*
4645
*/
4746
protected function execute(DomainEvent $event, EventHandler $listener): void
4847
{

src/Application/InboundEventBus/SwallowInboundEvent.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public function __construct(
2727

2828
/**
2929
* Handle the event.
30-
*
3130
*/
3231
public function handle(IntegrationEvent $event): void
3332
{

src/Contracts/Application/Bus/Validator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public function using(iterable $rules): static;
2828

2929
/**
3030
* Validate the provided message.
31-
*
3231
*/
3332
public function validate(Command|Query $message): ListOfErrors;
3433
}

src/Contracts/Application/DomainEventDispatching/DeferredDispatcher.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ interface DeferredDispatcher extends DomainEventDispatcher
1818
{
1919
/**
2020
* Dispatch any deferred events.
21-
*
2221
*/
2322
public function flush(): void;
2423

2524
/**
2625
* Clear deferred events without dispatching them.
27-
*
2826
*/
2927
public function forget(): void;
3028
}

src/Contracts/Application/DomainEventDispatching/ListenerContainer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ interface ListenerContainer
1616
{
1717
/**
1818
* Get a listener by its name.
19-
*
2019
*/
2120
public function get(string $listenerName): object;
2221
}

src/Contracts/Application/InboundEventBus/EventHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ interface EventHandler extends DispatchThroughMiddleware
1919
{
2020
/**
2121
* Handle the integration event.
22-
*
2322
*/
2423
public function __invoke(IntegrationEvent $event): void;
2524
}

src/Contracts/Application/Ports/Driven/ExceptionReporter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ interface ExceptionReporter
1818
{
1919
/**
2020
* Report the exception.
21-
*
2221
*/
2322
public function report(Throwable $ex): void;
2423
}

0 commit comments

Comments
 (0)