diff --git a/src/Command/UpdateSubscriptionsCommand.php b/src/Command/UpdateSubscriptionsCommand.php index 0ccaec6..26b1ce4 100644 --- a/src/Command/UpdateSubscriptionsCommand.php +++ b/src/Command/UpdateSubscriptionsCommand.php @@ -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()); diff --git a/src/Command/UpdateUsersPrivacyCommand.php b/src/Command/UpdateUsersPrivacyCommand.php index a561bf9..a9acdee 100644 --- a/src/Command/UpdateUsersPrivacyCommand.php +++ b/src/Command/UpdateUsersPrivacyCommand.php @@ -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());