From f604effea05caf8d27ec734514f6420836a20c2f Mon Sep 17 00:00:00 2001 From: Richard Le Poidevin Date: Fri, 7 Jul 2023 10:12:54 +0100 Subject: [PATCH] Update Storyblok RTR and fix settings storyblok/richtext-resolver updated to 2.2.0 Blocks no longer use the HasSettings trait by default --- composer.json | 2 +- src/Block.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 797d2a1..b9ced7a 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "league/commonmark": "^2.0", "spatie/schema-org": "^3.3", "storyblok/php-client": "^2.3", - "storyblok/richtext-resolver": "2.1.0" + "storyblok/richtext-resolver": "2.2.0" }, "require-dev": { "mockery/mockery": "^1.2", diff --git a/src/Block.php b/src/Block.php index 963e4ec..a4ba80f 100644 --- a/src/Block.php +++ b/src/Block.php @@ -15,7 +15,6 @@ use Riclep\Storyblok\Fields\Table; use Riclep\Storyblok\Traits\HasChildClasses; use Riclep\Storyblok\Traits\HasMeta; -use Riclep\Storyblok\Traits\HasSettings; use Storyblok\ApiException; @@ -23,7 +22,6 @@ class Block implements \IteratorAggregate, \JsonSerializable { use HasChildClasses; use HasMeta; - use HasSettings; /** * @var bool resolve UUID relations automatically @@ -492,4 +490,4 @@ public function getCasts(): array { return $this->_casts; } -} \ No newline at end of file +}