Skip to content

Commit 04ade0c

Browse files
Exception message copy
1 parent 537ea92 commit 04ade0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drivers/YamlDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function serialize($data): string
1616
}
1717

1818
if (! is_array($data)) {
19-
throw new CantBeSerialized('Only array and strings can be serialized to yaml.');
19+
throw new CantBeSerialized('Only arrays and strings can be serialized to yaml.');
2020
}
2121

2222
return Yaml::dump($data, PHP_INT_MAX);

0 commit comments

Comments
 (0)