Skip to content

Commit 4cd45e2

Browse files
committed
Fix Builder regression
- Fix regression in 2a19c2d where builders cannot create objects from arrays that resolve to exactly 1 constructor parameter
1 parent c06744d commit 4cd45e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/IntrospectorKeyTargets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function __construct(
136136
$this->CustomKeys = $customKeys;
137137

138138
if ($this->Parameters) {
139-
$this->LastParameterIndex = max(...array_values($parameters));
139+
$this->LastParameterIndex = max(array_values($parameters));
140140
}
141141
}
142142
}

0 commit comments

Comments
 (0)