Skip to content

Commit 06e42a6

Browse files
committed
Special case fix in getResponseType()
1 parent 9f13f05 commit 06e42a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DatingVIP/API/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ public function execute(Command $command)
130130
*/
131131
private function getResponseType()
132132
{
133+
if (false === strpos($this->url, '.')) { return ""; }
133134
list($path, $type) = explode('.', basename($this->url), 2);
134135

135136
return $type;

0 commit comments

Comments
 (0)