diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index 12b97a085..f9238bec4 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -114,7 +114,7 @@ class AutoloadGenerator public function setApcu(bool $apcu, ?string $apcuPrefix = null) { $this->apcu = $apcu; - $this->apcuPrefix = $apcuPrefix !== null ? $apcuPrefix : $apcuPrefix; + $this->apcuPrefix = $apcuPrefix; } /**