Skip to content

Commit

Permalink
Return Type Hints fix for phalcon#12895
Browse files Browse the repository at this point in the history
  • Loading branch information
stamster committed Jun 20, 2017
1 parent c35a370 commit 81d3364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/http/response.zep
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class Response implements ResponseInterface, InjectionAwareInterface
* );
*</code>
*/
public function getStatusCode() -> array
public function getStatusCode() -> int | null
{
var statusCode;
let statusCode = (int) substr(this->getHeaders()->get("Status"), 0, 3);
Expand Down

0 comments on commit 81d3364

Please sign in to comment.