Skip to content

Commit 252cd49

Browse files
committed
Added comment to ignore argument.type by phpstan.
1 parent 6b659e8 commit 252cd49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/system/Models/InsertModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public function testInsertBatchWithCasts(): void
400400
];
401401
$this->createModel(UserCastsTimestampModel::class);
402402

403-
$numRows = $this->model->insertBatch($userData);
403+
$numRows = $this->model->insertBatch($userData); // @phpstan-ignore argument.type
404404

405405
$this->assertSame(2, $numRows);
406406

tests/system/Models/UpdateModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ public function testUpdateBatchWithCasts(): void
636636
],
637637
];
638638

639-
$numRows = $this->model->updateBatch($updateData, 'id');
639+
$numRows = $this->model->updateBatch($updateData, 'id'); // @phpstan-ignore argument.type
640640
$this->assertSame(2, $numRows);
641641

642642
$this->seeInDatabase('user', ['email' => json_encode($updateData[0]['email'])]);

0 commit comments

Comments
 (0)