Skip to content

Commit f163b9f

Browse files
authored
add $default value as null
to avoid "Required parameter $default follows optional parameter $options"
1 parent 2b92255 commit f163b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ function GetSparkBarToken($access_token) {
845845
return $token;
846846
}
847847

848-
protected function extract_from_request_options($key, $options=array(), $default) {
848+
protected function extract_from_request_options($key, $options=array(), $default=null) {
849849
if (array_key_exists($key, $options)) {
850850
return $options[$key];
851851
}

0 commit comments

Comments
 (0)