Skip to content

Commit 6732a15

Browse files
committed
tweaking error language
1 parent 4d442f4 commit 6732a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public static function entityExists(string $className = null, array $entities =
194194
self::notBlank($className);
195195

196196
if (empty($entities)) {
197-
throw new RuntimeCommandException('There is no registered entities; please create entity before use this command.');
197+
throw new RuntimeCommandException('There are no registered entities; please create an entity before using this command.');
198198
}
199199

200200
if (0 === strpos($className, '\\')) {

0 commit comments

Comments
 (0)