Skip to content

Commit

Permalink
replace Parameter\Checker with Parameter\Validator
Browse files Browse the repository at this point in the history
  • Loading branch information
yeaha committed Feb 3, 2016
1 parent 77e2080 commit cf24dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
abstract class Controller {
protected function checkParameters(array $parameters, array $options) {
try {
(new \Owl\Parameter\Checker)->execute($parameters, $options);
(new \Owl\Parameter\Validator)->execute($parameters, $options);
} catch (\Owl\Parameter\Exception $exception) {
throw \Owl\Http\Exception::factory(400, $exception);
}
Expand Down

0 comments on commit cf24dc4

Please # to comment.