Skip to content

Fix minor "beta" typo #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class MyCommandClass
* @param bool $flip The "flip" option
* @option flip Whether or not the second parameter should come first in the result.
* @aliases c
* @usage bet alpha --flip
* Concatenate "alpha" and "bet".
* @usage beta alpha --flip
* Concatenate "alpha" and "beta".
*/
public function myEcho($one, $two, $flip = false)
{
Expand All @@ -73,7 +73,7 @@ or via PHP 8 attributes.
#[CLI\Param(name: 'one', description: 'The first parameter')]
#[CLI\Param(name: 'two', description: 'The other parameter')]
#[CLI\Option(name: 'flip', description: 'Whether or not the second parameter should come first in the result.')]
#[CLI\Usage(name: 'bet alpha --flip', description: 'Concatenate "alpha" and "bet".')]
#[CLI\Usage(name: 'beta alpha --flip', description: 'Concatenate "alpha" and "beta".')]
public function myEcho($one, $two = '', $flip = false)
{
if ($options['flip']) {
Expand All @@ -100,8 +100,8 @@ class MyCommandClass
* @param array $options An option that takes multiple values.
* @option flip Whether or not the second parameter should come first in the result.
* @aliases c
* @usage bet alpha --flip
* Concatenate "alpha" and "bet".
* @usage beta alpha --flip
* Concatenate "alpha" and "beta".
*/
public function myEcho($one, $two, $options = ['flip' => false])
{
Expand Down
Loading