We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40bdee9 commit b5f1963Copy full SHA for b5f1963
docs/en/index.rst
@@ -69,6 +69,8 @@ Create a Job class::
69
70
<?php
71
// src/Job/ExampleJob.php
72
+ declare(strict_types=1);
73
+
74
namespace App\Job;
75
76
use Cake\Log\LogTrait;
@@ -182,6 +184,8 @@ mailer class. The following example shows how to setup the trait within a mailer
182
184
class::
183
185
186
187
188
189
namespace App\Mailer;
190
191
use Cake\Mailer\Mailer;
@@ -191,7 +195,7 @@ class::
195
{
192
196
use QueueTrait;
193
197
194
- public function welcome($emailAddress, $username)
198
+ public function welcome(string $emailAddress, string $username): void
199
200
$this
201
->setTo($emailAddress)
0 commit comments