Permalink
Browse files

bugfix: must be a method not a var

  • Loading branch information...
1 parent 09e9100 commit e143f45fc56bcb57eb9b9771bdb27dc1a13a6726 @till till committed May 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/PEAR2/Services/NYTimes/Base.php
@@ -150,7 +150,7 @@ protected function isSuccessful(\HTTP_Request2_Response $response)
*/
protected function hazProblem(\HTTP_Request2_Response $response)
{
- switch ($response->getStatus) {
+ switch ($response->getStatus()) {
case 400:
throw new \RuntimeException("Bad request.");
case 403:

0 comments on commit e143f45

Please sign in to comment.