Skip to content

Commit 0574651

Browse files
committed
Fix CI warning about possibly undefined variable
1 parent a877d2d commit 0574651

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/codebird.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,8 @@ protected function _callApi($httpmethod, $method, $params = array(), $multipart
10511051
$params['application_id'] = 333903271;
10521052
}
10531053

1054-
$url = $this->_getEndpoint($method);
1054+
$authorization = null;
1055+
$url = $this->_getEndpoint($method);
10551056
$request_headers = array();
10561057
if ($httpmethod === 'GET') {
10571058
$url_with_params = $url;

0 commit comments

Comments
 (0)