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

Commit

Permalink
Fix Status code switch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Jones committed Jun 28, 2018
1 parent 9bc43c1 commit b4852bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added src/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Vesta.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function request($data) {
'form_params' => $data
]);

switch ($response->getBody()) {
switch ((string) $response->getBody()) {
case self::OK:
return;

Expand Down

0 comments on commit b4852bd

Please sign in to comment.