Skip to content

Commit

Permalink
Fix parameter name in exception for case when Kernel has custom names…
Browse files Browse the repository at this point in the history
…pace
  • Loading branch information
prophetz committed Sep 19, 2024
1 parent 72cf4d1 commit eb5cb12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Codeception/Module/Symfony.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ protected function getKernelClass(): string
throw new ModuleRequireException(
self::class,
"File with Kernel class was not found at {$path}.\n"
. 'Specify directory where file with Kernel class for your application is located with `app_path` parameter.'
. 'Specify directory where file with Kernel class for your application is located with `kernel_class` parameter.'
);
}

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

Expand Down

0 comments on commit eb5cb12

Please sign in to comment.