File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ public function getCsrfParamName(): string
250250 return $ this ->getApplication ()->request ->csrfParam ;
251251 }
252252
253- public function startApp (\yii \log \Logger $ logger = null ): void
253+ public function startApp (? \yii \log \Logger $ logger = null ): void
254254 {
255255 codecept_debug ('Starting application ' );
256256 $ config = require ($ this ->configFile );
Original file line number Diff line number Diff line change @@ -723,11 +723,11 @@ public function grabComponent(string $component): null|object
723723 * $I->seeEmailIsSent(3);
724724 * ```
725725 *
726- * @param int $num
726+ * @param int|null $num
727727 * @throws \Codeception\Exception\ModuleException
728728 * @part email
729729 */
730- public function seeEmailIsSent (int $ num = null ): void
730+ public function seeEmailIsSent (? int $ num = null ): void
731731 {
732732 if ($ num === null ) {
733733 $ this ->assertNotEmpty ($ this ->grabSentEmails (), 'emails were sent ' );
You can’t perform that action at this time.
0 commit comments