Skip to content

Commit

Permalink
PHP doesn't support math for const pre 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham committed Aug 18, 2015
1 parent 797cd44 commit 4c5f3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwitterOAuth.php
Expand Up @@ -18,7 +18,7 @@ class TwitterOAuth extends Config
const API_VERSION = '1.1';
const API_HOST = 'https://api.twitter.com';
const UPLOAD_HOST = 'https://upload.twitter.com';
const UPLOAD_CHUNK = 1024 * 40;
const UPLOAD_CHUNK = 40960; // 1024 * 40

/** @var Response details about the result of the last request */
private $response;
Expand Down

0 comments on commit 4c5f3f7

Please sign in to comment.