File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/Illuminate/Foundation Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -220,17 +220,17 @@ public function __construct($basePath = null)
220
220
/**
221
221
* Begin configuring a new Laravel application instance.
222
222
*
223
- * @param string|null $baseDirectory
223
+ * @param string|null $basePath
224
224
* @return \Illuminate\Foundation\Configuration\ApplicationBuilder
225
225
*/
226
- public static function configure (string $ baseDirectory = null )
226
+ public static function configure (string $ basePath = null )
227
227
{
228
- $ baseDirectory = match (true ) {
229
- is_string ($ baseDirectory ) => $ baseDirectory ,
230
- default => static ::inferBaseDirectory (),
228
+ $ basePath = match (true ) {
229
+ is_string ($ basePath ) => $ basePath ,
230
+ default => static ::inferBasePath (),
231
231
};
232
232
233
- return (new Configuration \ApplicationBuilder (new static ($ baseDirectory )))
233
+ return (new Configuration \ApplicationBuilder (new static ($ basePath )))
234
234
->withKernels ()
235
235
->withEvents ()
236
236
->withCommands ();
@@ -241,7 +241,7 @@ public static function configure(string $baseDirectory = null)
241
241
*
242
242
* @return string
243
243
*/
244
- public static function inferBaseDirectory ()
244
+ public static function inferBasePath ()
245
245
{
246
246
return match (true ) {
247
247
isset ($ _ENV ['APP_BASE_PATH ' ]) => $ _ENV ['APP_BASE_PATH ' ],
You can’t perform that action at this time.
0 commit comments