File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
lib/OpenCloud/Common/Http/Message Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,16 @@ require 'vendor/autoload.php';
4040
4141And you're ready to go!
4242
43+ Alternatively, if you would like to clone the repository into a directory (to work and submit pull requests):
44+
45+ ``` bash
46+ git clone
[email protected] :rackspace/php-opencloud.git
. 47+ curl -sS https://getcomposer.org/installer | php
48+ php composer.phar install
49+ ```
50+
51+ You can specify the ` --no-dev ` flag to Composer if you do not want to install phpDocumentor (lots of vendor folders).
52+
4353Support and Feedback
4454--------------------
4555Your feedback is appreciated! If you have specific problems or bugs with this SDK, please file an issue on Github. We
Original file line number Diff line number Diff line change @@ -39,8 +39,9 @@ public static function getSubscribedEvents()
3939 */
4040 public function doCurlProgress ($ options )
4141 {
42- if ($ options ['request ' ]->getCurlOptions ()->hasKey ('progressCallback ' )) {
43- return call_user_func ($ options ['request ' ]->getCurlOptions ()->get ('progressCallback ' ));
42+ $ curlOptions = $ options ['request ' ]->getCurlOptions ();
43+ if ($ curlOptions ->hasKey ('progressCallback ' )) {
44+ return call_user_func ($ curlOptions ->get ('progressCallback ' ));
4445 } else {
4546 echo sprintf (
4647 "Download size: [%d] \nDownloaded: [%d] \nUpload size: [%d] \nUploaded: [%d] \n" ,
You can’t perform that action at this time.
0 commit comments