Backslashes for usleep() call.

This commit is contained in:
Alexey Skobkin 2023-04-01 19:10:56 +03:00
parent 0a05264406
commit b4bdda26e3
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ class UpdateSubscriptionsCommand extends Command
$progress->start(count($usersForUpdate));
foreach ($usersForUpdate as $user) {
usleep($this->pointApiDelay);
\usleep($this->pointApiDelay);
$progress->advance();
$this->logger->info('Processing @'.$user->getLogin());

View file

@ -66,7 +66,7 @@ class UpdateUsersPrivacyCommand extends Command
$progress->start(count($usersForUpdate));
foreach ($usersForUpdate as $user) {
usleep($this->pointApiDelay);
\usleep($this->pointApiDelay);
$progress->advance();
$this->logger->info('Processing @'.$user->getLogin());