Remove some unreachable code.

This commit is contained in:
James Cole 2022-12-30 20:48:48 +01:00
parent 742c84269b
commit 2b9996b844
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
6 changed files with 8 additions and 15 deletions

View File

@ -121,6 +121,5 @@ class AccountController extends Controller
}
return response()->json($chartData);
return response()->json(['x']);
}
}

View File

@ -86,8 +86,6 @@ class MonthReportGenerator implements ReportGeneratorInterface
$result = sprintf('Could not render report view: %s', $e->getMessage());
throw new FireflyException($result, 0, $e);
}
return $result;
}
/**

View File

@ -61,8 +61,6 @@ class MonthReportGenerator implements ReportGeneratorInterface
$result = 'Could not render report view.';
throw new FireflyException($result, 0, $e);
}
return $result;
}
/**

View File

@ -65,8 +65,6 @@ class MultiYearReportGenerator implements ReportGeneratorInterface
$result = sprintf('Could not render report view: %s', $e->getMessage());
throw new FireflyException($result, 0, $e);
}
return $result;
}
/**

View File

@ -32,7 +32,7 @@
<a href="webhooks/create" class="btn btn-success"><span class="fa fa-plus fa-fw"></span>{{ $t('firefly.create_new_webhook') }}</a>
</div>
<table class="table table-responsive table-hover" v-if="webhooks.length > 0">
<table class="table table-responsive table-hover" v-if="webhooks.length > 0" aria-label="A table.">
<thead>
<tr>
<th>Title</th>

View File

@ -40,26 +40,26 @@
<table class="table table-hover">
<tbody>
<tr>
<td style="width:40%;">Title</td>
<th style="width:40%;">Title</th>
<td>{{ title }}</td>
</tr>
<tr>
<td>{{ $t('list.active') }}</td>
<th>{{ $t('list.active') }}</th>
<td>
<em class="fa fa-check text-success" v-if="active"></em>
<em class="fa fa-times text-danger" v-if="!active"></em>
</td>
</tr>
<tr>
<td>{{ $t('list.trigger') }}</td>
<th>{{ $t('list.trigger') }}</th>
<td> {{ trigger }}</td>
</tr>
<tr>
<td>{{ $t('list.response') }}</td>
<th>{{ $t('list.response') }}</th>
<td> {{ response }}</td>
</tr>
<tr>
<td>{{ $t('list.delivery') }}</td>
<th>{{ $t('list.delivery') }}</th>
<td> {{ delivery }}</td>
</tr>
</tbody>
@ -85,7 +85,7 @@
<table class="table table-hover">
<tbody>
<tr>
<td style="width:40%;">{{ $t('list.url') }}</td>
<th style="width:40%;">{{ $t('list.url') }}</th>
<td><input type="text" readonly class="form-control" :value=url></td>
</tr>
<tr>
@ -128,7 +128,7 @@
</p>
</div>
<div class="box-body no-padding" v-if="messages.length > 0">
<table class="table table-hover">
<table class="table table-hover" aria-label="A table">
<thead>
<tr>
<th>