Skip to content

Commit 74ac791

Browse files
authored
chore: fix naming/spelling; rename DatabaseMessages→DatabaseMessage (BC alias) (#892)
* chore: fix naming/spelling; rename DatabaseMessages→DatabaseMessage (BC alias) - Replace 'Not Support job type.' with 'Unsupported job type.' - Correct 'will removed' → 'will be removed' in deprecations - Improve ReCaptcha not published message - Deprecate EntryType::SCHEDULED_TASK as alias of SCHEDULE - Rename DatabaseMessages to DatabaseMessage; update tests; add class_alias for BC - Tweak cache ConfigProvider comments * fix: update deprecation notice for DatabaseMessages class * refactor: remove DatabaseMessages class and update deprecation notice for DatabaseMessage --------- Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
1 parent 32808e9 commit 74ac791

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ReCaptchaManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function get(?string $version = null): ReCaptcha
4040
}
4141

4242
if (! $this->config->has('recaptcha')) {
43-
throw new RuntimeException('Not publish yet, please run \'php bin/hyperf.php vendor:publish friendsofhyperf/recaptcha\'');
43+
throw new RuntimeException('Configuration not published yet, please run \'php bin/hyperf.php vendor:publish friendsofhyperf/recaptcha\'.');
4444
}
4545

4646
$version ??= (string) $this->config->get('recaptcha.default', 'v3');

0 commit comments

Comments
 (0)