BillogramClass.php unused parameter.
peshi opened this issue · comments
Roland Ekström commented
$method is never used in this function.
/**
* Creates and sells a billogram.
*
* @param $data
* @param $method
* @return \Billogram\Api\Objects\BillogramObject
*/
public function createAndSell($data, $method)
{
$data['_event'] = 'sell';
$billogram = $this->create($data);
return $billogram;
}
Andreas Högström commented
I cannot remove this parameter at this time, it would possibly break backward compitability with exiting users, hopefully it doesnt hurt anyone.
Roland Ekström commented
Alright :) closing