From 3b5976667c54ca6392c65493c3d066912b401c09 Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Tue, 6 Jun 2023 13:26:14 +0100 Subject: [PATCH] Simplify property assignment (#11488) --- src/Composer/Autoload/AutoloadGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /**