File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function getDiscoveryBasePath(): string
68
68
69
69
it ('filters out non-existent classes from cached event handlers ' , function () {
70
70
// 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 {
72
72
public function testDiscoverEventHandlers ()
73
73
{
74
74
return $ this ->discoverEventHandlers ();
@@ -84,7 +84,7 @@ public function mockCachedEventHandlers(array $handlers): void
84
84
// Create a temporary cache file with mixed valid and invalid classes
85
85
$ cachePath = config ('event-sourcing.cache_path ' , storage_path ('framework/cache ' ));
86
86
87
- if (!is_dir ($ cachePath )) {
87
+ if (! is_dir ($ cachePath )) {
88
88
mkdir ($ cachePath , 0755 , true );
89
89
}
90
90
You can’t perform that action at this time.
0 commit comments