Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'useStatementFixes' of https://github.com/marc-mabe/zf2
Browse files Browse the repository at this point in the history
…into hotfix/import-fixes
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public function getClassmap()
public function setEncoding($encoding)
{
if (!is_string($encoding)) {
throw new ClientException('Invalid encoding specified');
throw new Exception\InvalidArgumentException('Invalid encoding specified');
}

$this->_encoding = $encoding;
Expand Down
2 changes: 1 addition & 1 deletion src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ public function handle($request = null)
$setRequestException = null;
try {
$this->_setRequest($request);
} catch (Exception $e) {
} catch (\Exception $e) {
$setRequestException = $e;
}

Expand Down

0 comments on commit 57ecc1a

Please sign in to comment.