mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
Simplify variable assignment using null coalescing operator (#4000)
This commit is contained in:
@@ -36,7 +36,7 @@ class ComposerAdapter
|
||||
{
|
||||
$this->application->resetComposer();
|
||||
|
||||
$this->output = $this->output ?? new BufferedOutput();
|
||||
$this->output ??= new BufferedOutput();
|
||||
|
||||
// This hack is necessary so that relative path repositories are resolved properly.
|
||||
$currDir = getcwd();
|
||||
|
Reference in New Issue
Block a user