Skip to content

Commit

Permalink
Update Storyblok RTR and fix settings
Browse files Browse the repository at this point in the history
storyblok/richtext-resolver updated to 2.2.0
Blocks no longer use the HasSettings trait by default
  • Loading branch information
Richard Le Poidevin committed Jul 7, 2023
1 parent 4b7f64e commit f604eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions src/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@
use Riclep\Storyblok\Fields\Table;
use Riclep\Storyblok\Traits\HasChildClasses;
use Riclep\Storyblok\Traits\HasMeta;
use Riclep\Storyblok\Traits\HasSettings;
use Storyblok\ApiException;


class Block implements \IteratorAggregate, \JsonSerializable
{
use HasChildClasses;
use HasMeta;
use HasSettings;

/**
* @var bool resolve UUID relations automatically
Expand Down Expand Up @@ -492,4 +490,4 @@ public function getCasts(): array
{
return $this->_casts;
}
}
}

0 comments on commit f604eff

Please sign in to comment.