@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | public function setHttpHeaders($httpHeaders = null) |
462 | 462 | { |
463 | 463 | // use global _SERVER if $httpHeaders aren't defined |
464 | - if (!is_array($httpHeaders) || !count($httpHeaders)) { |
|
464 | + if ( ! is_array($httpHeaders) || ! count($httpHeaders)) { |
|
465 | 465 | $httpHeaders = $_SERVER; |
466 | 466 | } |
467 | 467 | // clear existing headers |
@@ -492,7 +492,7 @@ discard block |
||
492 | 492 | } |
493 | 493 | } |
494 | 494 | |
495 | - return $this->userAgent = (!empty($this->userAgent) ? trim($this->userAgent) : null); |
|
495 | + return $this->userAgent = ( ! empty($this->userAgent) ? trim($this->userAgent) : null); |
|
496 | 496 | } |
497 | 497 | } |
498 | 498 |