Skip to content

Commit 8278bdb

Browse files
authored
Use null coalescing operator for vendor directory assignment (#1027)
1 parent 7c4e867 commit 8278bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
|
3838
*/
3939

40-
$vendorDir = $_ENV['COMPOSER_VENDOR_DIR'] ?: "{$basePath}/vendor";
40+
$vendorDir = $_ENV['COMPOSER_VENDOR_DIR'] ?? "{$basePath}/vendor";
4141

4242
if (! is_file($autoload_file = "{$vendorDir}/autoload.php")) {
4343
Octane::writeError("Composer autoload file was not found. Did you install the project's dependencies?");

0 commit comments

Comments
 (0)