Skip to content

Commit 5d193f5

Browse files
freekmurzeactions-user
authored andcommitted
Fix styling
1 parent e09c0cd commit 5d193f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/DiscoversEventHandlersTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function getDiscoveryBasePath(): string
6868

6969
it('filters out non-existent classes from cached event handlers', function () {
7070
// Create a mock EventSourcingServiceProvider to test the protected method
71-
$serviceProvider = new class(app()) extends \Spatie\EventSourcing\EventSourcingServiceProvider {
71+
$serviceProvider = new class (app()) extends \Spatie\EventSourcing\EventSourcingServiceProvider {
7272
public function testDiscoverEventHandlers()
7373
{
7474
return $this->discoverEventHandlers();
@@ -84,7 +84,7 @@ public function mockCachedEventHandlers(array $handlers): void
8484
// Create a temporary cache file with mixed valid and invalid classes
8585
$cachePath = config('event-sourcing.cache_path', storage_path('framework/cache'));
8686

87-
if (!is_dir($cachePath)) {
87+
if (! is_dir($cachePath)) {
8888
mkdir($cachePath, 0755, true);
8989
}
9090

0 commit comments

Comments
 (0)