From f1afdc7dfdb0a0c92bb50127a0ac97c83757cfda Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Mon, 26 Jan 2015 07:24:40 -0800 Subject: [PATCH] Clean up --- src/Curl/Curl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index ab82ef5..b29e875 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -330,9 +330,9 @@ class Curl } } - public function beforeSend($function) + public function beforeSend($callback) { - $this->before_send_function = $function; + $this->before_send_function = $callback; } public function success($callback)