Skip to content

Commit de226eb

Browse files
committed
ITT: Readme fixes.
1 parent 1da324f commit de226eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ $this->emulateProduction();
129129
130130
#### `runConsoleCommand()`
131131
132-
Runs console command by the direct `run` method call, through the class name with ability to set parameters:
132+
Runs console command directly by the class name, and return it:
133133
134134
```php
135135
$command = $this->runConsoleCommand(MyCommand::class, ['--name' => 'John']);
136136
```
137137
138-
Also, you can pass command object directly instead of class name:
138+
Also, you can run command via command object directly:
139139
140140
```php
141141
$command = $this->runConsoleCommand(new MyCommand, ['--name' => 'Jane']);

0 commit comments

Comments
 (0)