Skip to content

Commit 9d0f2f0

Browse files
committed
(fix): Required parameter follows optional parameter
1 parent 1726ec6 commit 9d0f2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Oracle/Oci/Common/HttpUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public static function attemptEncodeParam($value) // : string
163163
* @return mixed|null the value indicated by the parameter name, or null if not found
164164
* @throws InvalidArgumentException if the parameter does not exist and $required is true
165165
*/
166-
public static function orNull($params=[], $paramName, $required = false)
166+
public static function orNull($params, $paramName, $required = false)
167167
{
168168
if (array_key_exists($paramName, $params)) {
169169
return $params[$paramName];

0 commit comments

Comments
 (0)