File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1212 */
1313final class KernelFactory
1414{
15- public static function createKernel (? string $ parseOnly ): Kernel
15+ public static function createKernel (string $ parseOnlyPath = null ): Kernel
1616 {
1717 $ configuration = new Configuration ();
1818 $ configuration ->setCustomTemplateDirs ([__DIR__ .'/Templates ' ]);
@@ -24,16 +24,16 @@ public static function createKernel(?string $parseOnly): Kernel
2424 )
2525 );
2626
27- if ($ parseOnly ) {
27+ if ($ parseOnlyPath ) {
2828 $ configuration ->setBaseUrl (
2929 sprintf (
3030 SymfonyDocConfiguration::getSymfonyDocUrl (),
3131 SymfonyDocConfiguration::getVersion ()
3232 )
3333 );
3434 $ configuration ->setBaseUrlEnabledCallable (
35- static function (string $ path ) use ($ parseOnly ) : bool {
36- return strpos ($ path , $ parseOnly ) !== 0 ;
35+ static function (string $ path ) use ($ parseOnlyPath ) : bool {
36+ return strpos ($ path , $ parseOnlyPath ) !== 0 ;
3737 }
3838 );
3939 }
You can’t perform that action at this time.
0 commit comments