esbenp / esbenp/heimdal

getStatusCode not found in Exception Laravel 5.5

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
122
Forks
39
PR merge metrics
No merged PRs in 30d

Description

i'm using laravel 5.5 and i'm testing this package, however, one of your class has a error throwed by my editor at this line: https://github.com/esbenp/heimdal/blob/master/src/Formatters/HttpExceptionFormatter.php#L19

following this error, i figure out the problem, the Exception class has only one method called:
```
getCode();
```

also the `getHeaders()` too. same problem. not found.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.