Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjosh committed Feb 2, 2017
1 parent f4ed73e commit 1b728e7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function generalStat()
}

/**
* Get expense
* Set expense
*
* @param $amount
* @param $text
Expand All @@ -67,7 +67,7 @@ public function expense($amount, $text)
}

/**
* Get income
* Set income
*
* @param $amount
* @param $text
Expand Down
14 changes: 13 additions & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@

trait Request
{

/**
* Send get request with curl
*
* @param $url
* @return mixed
*/
public function get($url)
{
$ch = curl_init();
Expand All @@ -19,6 +24,13 @@ public function get($url)
return $response;
}

/**
* Send post request with curl
*
* @param $uri
* @param array $options
* @return mixed
*/
public function post($uri, array $options)
{
$ch = curl_init($uri);
Expand Down

0 comments on commit 1b728e7

Please sign in to comment.