Skip to content

Commit

Permalink
Remove unnecessary const for layout key, and unused contentable excep…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Kurt Friars committed Nov 1, 2023
1 parent 3820fda commit 62be9ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
9 changes: 0 additions & 9 deletions src/Exceptions/ContentableException.php

This file was deleted.

7 changes: 1 addition & 6 deletions src/Models/Layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ class Layout extends Model implements LayoutContract

protected $guarded = ['id'];

/**
* The key on the model which identifies the layout
*/
const LAYOUT_KEY = 'identifier';

/**
* {@inheritDoc}
*/
Expand All @@ -30,7 +25,7 @@ public function layoutKey(): string
*/
public static function getLayoutKeyName(): string
{
return static::LAYOUT_KEY;
return 'identifier';
}

/**
Expand Down

0 comments on commit 62be9ea

Please sign in to comment.