Skip to content

Commit

Permalink
Fixed #2572
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Aug 23, 2022
1 parent 68ce0b0 commit bfc9130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Work/Message/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function register(Container $app)
$app['messenger'] = function ($app) {
$messenger = new Messenger($app['message']);

if (is_int($app['config']['agent_id'])) {
if (is_numeric($app['config']['agent_id'])) {
$messenger->ofAgent($app['config']['agent_id']);
}

Expand Down

0 comments on commit bfc9130

Please sign in to comment.