Permalink
Browse files

Style tweaks.

  • Loading branch information...
1 parent 9535e24 commit 3f057bf460fdca74b93e9a89fa35257dfa30bb68 Phil Sturgeon committed Jan 18, 2012
Showing with 10 additions and 10 deletions.
  1. +10 −10 libraries/Curl.php
View
20 libraries/Curl.php
@@ -14,15 +14,15 @@
*/
class Curl {
- protected $_ci; // CodeIgniter instance
- protected $response = ''; // Contains the cURL response for debug
- protected $session; // Contains the cURL handler for a session
- protected $url; // URL of the session
- protected $options = array(); // Populates curl_setopt_array
- protected $headers = array(); // Populates extra HTTP headers
- public $error_code; // Error code returned as an int
- public $error_string; // Error message returned as a string
- public $info; // Returned after request (elapsed time, etc)
+ protected $_ci; // CodeIgniter instance
+ protected $response = ''; // Contains the cURL response for debug
+ protected $session; // Contains the cURL handler for a session
+ protected $url; // URL of the session
+ protected $options = array(); // Populates curl_setopt_array
+ protected $headers = array(); // Populates extra HTTP headers
+ public $error_code; // Error code returned as an int
+ public $error_string; // Error message returned as a string
+ public $info; // Returned after request (elapsed time, etc)
function __construct($url = '')
{
@@ -37,7 +37,7 @@ function __construct($url = '')
$url AND $this->create($url);
}
- function __call($method, $arguments)
+ public function __call($method, $arguments)
{
if (in_array($method, array('simple_get', 'simple_post', 'simple_put', 'simple_delete')))
{

0 comments on commit 3f057bf

Please sign in to comment.