public function check()
{
foreach ($this->paths as $path) {
if (!is_writable($path)) {
$this->errors[] = ['message' => 'The ' . realpath($path) . ' directory is not writable.', 'detail' => 'Please chmod this directory' . ($path !== public_path() ? ' and its contents' : '') . ' to 0775.'];
}
}
}