Skip to content

Commit 4444234

Browse files
committed
[plugin] improvement: use null coalescing operator
1 parent 2d58e64 commit 4444234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugin/sfPluginManager.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ protected function doInstallPlugin($plugin, $options = [])
352352

353353
if ($isPackage) {
354354
$this->checkPluginDependencies($plugin, $version, [
355-
'install_deps' => isset($options['install_deps']) ? (bool) $options['install_deps'] : false,
355+
'install_deps' => (bool) $options['install_deps'] ?? false,
356356
'stability' => $stability,
357357
]);
358358
}

0 commit comments

Comments
 (0)