@@ -318,7 +318,7 @@ |
||
318 | 318 | if (stristr($this->agent, 'FacebookExternalHit')) { |
319 | 319 | $this->isRobot = true; |
320 | 320 | $this->isFacebook = true; |
321 | - } else if (stristr($this->agent, 'FBIOS')) { |
|
321 | + } else if (stristr($this->agent, 'FBIOS')) { |
|
322 | 322 | $this->isFacebook = true; |
323 | 323 | } |
324 | 324 | } |
@@ -522,8 +522,7 @@ |
||
522 | 522 | if(is_array($callback) && count($callback) > 0){ |
523 | 523 | if(array_key_exists($this->requestMethod, $callback)){ |
524 | 524 | $callback = $callback[$this->requestMethod]; |
525 | - } |
|
526 | - else{ |
|
525 | + } else{ |
|
527 | 526 | //Wrong request method |
528 | 527 | $this->logger->warning('The request method [' . $this->requestMethod . '] is not allowed'); |
529 | 528 | $this->routeMethodMatch = false; |