Skip to content

Commit

Permalink
Allow null payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Dec 8, 2014
1 parent 246cc25 commit faaa50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Abstracts/AbstractEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function getBasePath()
*
* @return mixed
*/
protected function _buildPath($path, ApiPayloadInterface $payload)
protected function _buildPath($path, ApiPayloadInterface $payload = null)
{
if(stristr($path, ':') && $payload !== null)
{
Expand Down

0 comments on commit faaa50f

Please sign in to comment.