Skip to content

Commit 8a4cb91

Browse files
Update src/Entities/Blocks/Block.php
Co-authored-by: JohGuentner <3506359+johguentner@users.noreply.github.com>
1 parent 391d9da commit 8a4cb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entities/Blocks/Block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ private static function mapTypeToClass(string $type): string
216216
protected static function assertValidTextContent($textContent)
217217
{
218218
if (! is_array($textContent) && ! is_string($textContent)) {
219-
throw new HandlingException('$textContent content must be a string.');
219+
throw new HandlingException('$textContent content must be a string or an array.');
220220
}
221221
}
222222
}

0 commit comments

Comments
 (0)