Simplify property assignment (#11488)
parent
52caea70d4
commit
3b5976667c
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue