We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03ff37d + 8a4cb91 commit 6bc0dd8Copy full SHA for 6bc0dd8
src/Entities/Blocks/Block.php
@@ -216,7 +216,7 @@ private static function mapTypeToClass(string $type): string
216
protected static function assertValidTextContent($textContent)
217
{
218
if (! is_array($textContent) && ! is_string($textContent)) {
219
- throw new HandlingException('$textContent content must be a string.');
+ throw new HandlingException('$textContent content must be a string or an array.');
220
}
221
222
0 commit comments