Skip to content

Commit d287746

Browse files
committed
Fix docs
1 parent 5e6de92 commit d287746

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/sections/queueing_jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ TableRegistry::getTableLocator()->get('Queue.QueuedJobs')
5959

6060
It will use the plugin's `EmailTask` to send out emails via CLI. See the [Email task documentation](tasks/email.md) for more details.
6161

62-
Important: Do not forget to set your [domain](https://book.cakephp.org/4/en/core-libraries/email.html#sending-emails-from-cli) when sending from CLI.
62+
Important: Do not forget to set your [domain](https://book.cakephp.org/5/en/core-libraries/email.html#sending-emails-from-cli) when sending from CLI.
6363

6464
If you want to disable existence check of tasks when creating jobs, set
6565
`Queue.skipExistenceCheck` to `true`. In this case you will not get a notification

src/Console/Io.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function quiet(array|string $message, int $newlines = 1): ?int {
6060
* present in most shells. Using ConsoleIo::QUIET for a message means it will always display.
6161
* While using ConsoleIo::VERBOSE means it will only display when verbose output is toggled.
6262
*
63-
* @link https://book.cakephp.org/4/en/console-commands/input-output.html#creating-output
63+
* @link https://book.cakephp.org/5/en/console-commands/input-output.html#creating-output
6464
*
6565
* @param array<string>|string $message A string or an array of strings to output
6666
* @param int $newlines Number of newlines to append
@@ -90,7 +90,7 @@ public function error(array|string $message = '', int $newlines = 1): ?int {
9090
/**
9191
* Convenience method for out() that wraps message between <info /> tag
9292
*
93-
* @see https://book.cakephp.org/4/en/console-commands/input-output.html#creating-output
93+
* @see https://book.cakephp.org/5/en/console-commands/input-output.html#creating-output
9494
*
9595
* @param array<string>|string $message A string or an array of strings to output
9696
* @param int $newlines Number of newlines to append
@@ -110,7 +110,7 @@ public function info(array|string $message = '', int $newlines = 1, int $level =
110110
/**
111111
* Convenience method for out() that wraps message between <comment /> tag
112112
*
113-
* @see https://book.cakephp.org/4/en/console-commands/input-output.html#creating-output
113+
* @see https://book.cakephp.org/5/en/console-commands/input-output.html#creating-output
114114
*
115115
* @param array<string>|string $message A string or an array of strings to output
116116
* @param int $newlines Number of newlines to append
@@ -130,7 +130,7 @@ public function comment(array|string $message = '', int $newlines = 1, int $leve
130130
/**
131131
* Convenience method for err() that wraps message between <warning /> tag
132132
*
133-
* @see https://book.cakephp.org/4/en/console-commands/input-output.html#creating-output
133+
* @see https://book.cakephp.org/5/en/console-commands/input-output.html#creating-output
134134
*
135135
* @param array<string>|string $message A string or an array of strings to output
136136
* @param int $newlines Number of newlines to append
@@ -149,7 +149,7 @@ public function warn(array|string $message = '', int $newlines = 1): ?int {
149149
/**
150150
* Convenience method for out() that wraps message between <success /> tag
151151
*
152-
* @see https://book.cakephp.org/4/en/console-commands/input-output.html#creating-output
152+
* @see https://book.cakephp.org/5/en/console-commands/input-output.html#creating-output
153153
*
154154
* @param array<string>|string $message A string or an array of strings to output
155155
* @param int $newlines Number of newlines to append
@@ -169,7 +169,7 @@ public function success(array|string $message = '', int $newlines = 1, int $leve
169169
/**
170170
* Returns a single or multiple linefeeds sequences.
171171
*
172-
* @link https://book.cakephp.org/4/en/console-commands/input-output.html#creating-output
172+
* @link https://book.cakephp.org/5/en/console-commands/input-output.html#creating-output
173173
*
174174
* @param int $multiplier Number of times the linefeed sequence should be repeated
175175
*
@@ -182,7 +182,7 @@ public function nl(int $multiplier = 1): string {
182182
/**
183183
* Outputs a series of minus characters to the standard output, acts as a visual separator.
184184
*
185-
* @link https://book.cakephp.org/4/en/console-commands/input-output.html#creating-output
185+
* @link https://book.cakephp.org/5/en/console-commands/input-output.html#creating-output
186186
*
187187
* @param int $newlines Number of newlines to pre- and append
188188
* @param int $width Width of the line, defaults to 63
@@ -197,7 +197,7 @@ public function hr(int $newlines = 0, int $width = 63): void {
197197
* Displays a formatted error message
198198
* and exits the application with status code 1
199199
*
200-
* @link https://book.cakephp.org/4/en/console-commands/input-output.html#styling-output
200+
* @link https://book.cakephp.org/5/en/console-commands/input-output.html#styling-output
201201
*
202202
* @param string $message The error message
203203
* @param int $exitCode The exit code for the shell task.

0 commit comments

Comments
 (0)