We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91e5173 commit b722497Copy full SHA for b722497
src/Illuminate/Console/Scheduling/ScheduleTestCommand.php
@@ -4,7 +4,6 @@
4
5
use Illuminate\Console\Application;
6
use Illuminate\Console\Command;
7
-use Illuminate\Support\Str;
8
9
class ScheduleTestCommand extends Command
10
{
@@ -55,7 +54,7 @@ public function handle(Schedule $schedule)
55
54
$commandBinary = Application::phpBinary().' '.Application::artisanBinary();
56
57
$matches = array_filter($commandNames, function ($commandName) use ($commandBinary, $name) {
58
- return trim(Str::replace($commandBinary, '', $commandName)) === $name;
+ return trim(str_replace($commandBinary, '', $commandName)) === $name;
59
});
60
61
if (count($matches) !== 1) {
0 commit comments