@@ -630,7 +630,7 @@ public function grabFixture(string $name, null|string $index = null): Fixture|\y
630630 *
631631 * ``` php
632632 * <?php
633- * $user_id = $I->haveRecord('app\models\ User', array( 'name' => 'Davert') );
633+ * $user_id = $I->haveRecord(model: User::class, attributes: [ 'name' => 'Davert'] );
634634 * ?>
635635 * ```
636636 *
@@ -657,7 +657,7 @@ public function haveRecord(string $model, $attributes = []): mixed
657657 * Checks that a record exists in the database.
658658 *
659659 * ```php
660- * $I->seeRecord('app\models\ User', array( 'name' => 'davert') );
660+ * $I->seeRecord(model: User::class, attributes: [ 'name' => 'davert'] );
661661 * ```
662662 *
663663 * @param class-string<\yii\db\ActiveRecord> $model
@@ -677,7 +677,7 @@ public function seeRecord(string $model, array $attributes = []): void
677677 * Checks that a record does not exist in the database.
678678 *
679679 * ```php
680- * $I->dontSeeRecord('app\models\ User', array( 'name' => 'davert') );
680+ * $I->dontSeeRecord(User::class, attributes: [ 'name' => 'davert'] );
681681 * ```
682682 *
683683 * @param class-string<\yii\db\ActiveRecord> $model
@@ -697,7 +697,7 @@ public function dontSeeRecord(string $model, array $attributes = []): void
697697 * Retrieves a record from the database
698698 *
699699 * ```php
700- * $category = $I->grabRecord('app\models\ User', array( 'name' => 'davert') );
700+ * $category = $I->grabRecord(User::class, attributes: [ 'name' => 'davert'] );
701701 * ```
702702 *
703703 * @param class-string<\yii\db\ActiveRecord> $model
0 commit comments