Skip to content

Commit

Permalink
fix some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dshovchko committed Nov 24, 2017
1 parent 3e67edc commit 0679252
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Provider31.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function process()
}

// output response
$this->response->out(self::$options);
$this->response->sign_and_out(self::$options);
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Provider31/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function sign_and_out($options)
protected function out_header()
{
ob_clean();
header("Content-Type: text/xml; charset=utf-8");
@header("Content-Type: text/xml; charset=utf-8");
}

/**
Expand Down
5 changes: 0 additions & 5 deletions test/Provider31/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ public function set_DateTime()
{
$this->setElementValue('DateTime', '2017-07-28T12:36:07');
}

protected function out_header()
{
echo null;
}
}

class ResponseTest extends ResponseTestCase
Expand Down

0 comments on commit 0679252

Please sign in to comment.