Skip to content

Commit d504667

Browse files
author
Jamison Bryant
committed
Replace wrong GitHub-style note with proper Vitepress syntax
1 parent 89599a5 commit d504667

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/en/console-commands/commands.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ You should see the following output:
4848

4949
Hello world.
5050

51-
> [!NOTE]
52-
> The `Arguments` and `ConsoleIo` instances passed to `execute()` are also
53-
> available as `$this->args` and `$this->io` on the command instance. This
54-
> lets any method in your command access them without needing them as
55-
> parameters. In 6.x, the `execute()` method signature will change to
56-
> `execute(): int` and `$this->args` / `$this->io` will be the only way to
57-
> access these objects. See the
58-
> [6.x command refactor](https://github.com/cakephp/cakephp/pull/18983) for
59-
> details.
51+
::: info
52+
The `Arguments` and `ConsoleIo` instances passed to `execute()` are also
53+
available on the command instance as `$this->args` and `$this->io`.
54+
In 6.x, the `execute()` method signature will drop these arguments
55+
and `$this->args` / `$this->io` will be the only way to access
56+
these objects. See the
57+
[6.x command refactor](https://github.com/cakephp/cakephp/pull/18983) for
58+
details.
59+
:::
6060

6161
Our `execute()` method isn't very interesting let's read some input from the
6262
command line:

0 commit comments

Comments
 (0)