@@ -201,8 +201,8 @@ |
||
201 | 201 | |
202 | 202 | $params = $route->getParameter('headers'); |
203 | 203 | |
204 | - if ( !empty($params) && is_array($params) ) { |
|
205 | - foreach($params as $name => $value) { |
|
204 | + if (!empty($params) && is_array($params)) { |
|
205 | + foreach ($params as $name => $value) { |
|
206 | 206 | $this->getResponse()->getHeaders()->set($name, $value); |
207 | 207 | } |
208 | 208 | } |
@@ -60,9 +60,9 @@ |
||
60 | 60 | |
61 | 61 | } |
62 | 62 | |
63 | - public function description($code=null) { |
|
63 | + public function description($code = null) { |
|
64 | 64 | |
65 | - if ( is_null($code) ) return $this->codes->getMessage($this->status_code); |
|
65 | + if (is_null($code)) return $this->codes->getMessage($this->status_code); |
|
66 | 66 | |
67 | 67 | return $this->codes->getMessage($code); |
68 | 68 |