Skip to content

Commit

Permalink
Fix CI warning about possibly undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetx committed Jun 18, 2014
1 parent a877d2d commit 0574651
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/codebird.php
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,8 @@ protected function _callApi($httpmethod, $method, $params = array(), $multipart
$params['application_id'] = 333903271;
}

$url = $this->_getEndpoint($method);
$authorization = null;
$url = $this->_getEndpoint($method);
$request_headers = array();
if ($httpmethod === 'GET') {
$url_with_params = $url;
Expand Down

0 comments on commit 0574651

Please sign in to comment.