mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-25 00:16:35 +00:00
use spread syntax instead of array_merge
This commit is contained in:
@@ -78,7 +78,7 @@ class BaconQrCodeProvider implements IQRCodeProvider
|
||||
$rendererStyleArgs = array($size, $this->borderWidth);
|
||||
|
||||
if (is_array($this->foregroundColour) && is_array($this->backgroundColour)) {
|
||||
$rendererStyleArgs = array_merge($rendererStyleArgs, array(
|
||||
$rendererStyleArgs = array(...$rendererStyleArgs, ...array(
|
||||
null,
|
||||
null,
|
||||
Fill::withForegroundColor(
|
||||
|
||||
Reference in New Issue
Block a user