Skip to content

Commit d70389a

Browse files
committed
#109 - Fix styleci errors (again)
1 parent f18ceda commit d70389a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/PanelTraits/ViewsAndRestoresRevisions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trait ViewsAndRestoresRevisions
88
{
99
/**
1010
* Build a list of Revisions, grouped by revision date.
11-
*
11+
*
1212
* @return [Array] of revision groups, keyed by revision date
1313
*/
1414
public function listRevisions($id)
@@ -37,7 +37,7 @@ public function listRevisions($id)
3737

3838
/**
3939
* Restore a single revision.
40-
*
40+
*
4141
* @param [int] $id The ID of the source CRUD Model instance to update
4242
* @param [int] $revisionId The ID of the revision to use for the update
4343
*/

src/app/Http/Controllers/CrudController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ public function listRevisions($id)
213213
*/
214214
public function restoreRevision($id)
215215
{
216-
217216
$this->crud->hasAccessOrFail('revisions');
218217

219218
// @TODO: Currently the route already contains the revision ID, so passing it as a POST param

0 commit comments

Comments
 (0)