Unused migration imports
Closed this issue · 1 comments
sebastiaanluca commented
In both create_checks_table.php.stub
and create_hosts_table.php.stub
, non-existing classes are imported (copy/paste from uptime monitor hmm? :p):
use Spatie\ServerMonitor\Models\Enums\CertificateStatus;
use Spatie\ServerMonitor\Models\Enums\UptimeStatus;
Also some minor errors in the docs, probably forgotten when refactoring classes.
- https://docs.spatie.be/laravel-server-monitor/v1/monitoring-basics/writing-your-own-checks (resolve method, succeeded/succeed, …)
freekmurze commented
Fixed, thank for notifying me.
If you spot more errors in the docs, feel free to send a PR.