Update Composer packages
This commit is contained in:
parent
df93324906
commit
45bdef9a3b
378 changed files with 28466 additions and 28852 deletions
|
@ -18,7 +18,7 @@ use Throwable;
|
|||
*/
|
||||
class Layouts extends Items
|
||||
{
|
||||
public const ITEM_CLASS = '\Kirby\Cms\Layout';
|
||||
public const ITEM_CLASS = Layout::class;
|
||||
|
||||
public static function factory(array $items = null, array $params = [])
|
||||
{
|
||||
|
@ -65,7 +65,7 @@ class Layouts extends Items
|
|||
if (empty($input) === false && is_array($input) === false) {
|
||||
try {
|
||||
$input = Data::decode($input, 'json');
|
||||
} catch (Throwable $e) {
|
||||
} catch (Throwable) {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue