Skip to content

Commit 1acc60d

Browse files
committed
MAGETWO-68977: fix for 'Class Magento\Framework\Console\CLI not found' in case sensitive scenarious #9539
- Merge Pull Request #9539 from EObukhovsky/magento2:bugfix/invalid_class_name
2 parents 62667cb + 7ee9f30 commit 1acc60d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Magento\Cron\Observer;
1111

1212
use Magento\Framework\App\State;
13-
use Magento\Framework\Console\CLI;
13+
use Magento\Framework\Console\Cli;
1414
use Magento\Framework\Event\ObserverInterface;
1515
use \Magento\Cron\Model\Schedule;
1616

@@ -188,7 +188,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
188188
) == 1
189189
)) {
190190
$this->_shell->execute(
191-
$phpPath . ' %s cron:run --group=' . $groupId . ' --' . CLI::INPUT_KEY_BOOTSTRAP . '='
191+
$phpPath . ' %s cron:run --group=' . $groupId . ' --' . Cli::INPUT_KEY_BOOTSTRAP . '='
192192
. self::STANDALONE_PROCESS_STARTED . '=1',
193193
[
194194
BP . '/bin/magento'

0 commit comments

Comments
 (0)