Skip to content

Commit eb5cb12

Browse files
committed
Fix parameter name in exception for case when Kernel has custom namespace
1 parent 72cf4d1 commit eb5cb12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/Symfony.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ protected function getKernelClass(): string
299299
throw new ModuleRequireException(
300300
self::class,
301301
"File with Kernel class was not found at {$path}.\n"
302-
. 'Specify directory where file with Kernel class for your application is located with `app_path` parameter.'
302+
. 'Specify directory where file with Kernel class for your application is located with `kernel_class` parameter.'
303303
);
304304
}
305305

@@ -319,7 +319,7 @@ protected function getKernelClass(): string
319319
throw new ModuleRequireException(
320320
self::class,
321321
"Kernel class was not found.\n"
322-
. 'Specify directory where file with Kernel class for your application is located with `app_path` parameter.'
322+
. 'Specify directory where file with Kernel class for your application is located with `kernel_class` parameter.'
323323
);
324324
}
325325

0 commit comments

Comments
 (0)