Implement level 6 PHPStan fixes
This commit is contained in:
1 parent
4d764cbb3f
commit
15ff5d3cb6
37 files changed
+239
-168
No files matched your search
@@ -39,7 +39,7 @@ class PatchTest extends TestCase
|
||||
{
|
||||
Patch::byId(ThrowawayDb::TABLE, 'one', ['num_value' => 44]);
|
||||
$doc = Find::byId(ThrowawayDb::TABLE, 'one', TestDocument::class);
|
||||
$this->assertTrue($doc->isDefined(), 'There should have been a document returned');
|
||||
$this->assertTrue($doc->isSome(), 'There should have been a document returned');
|
||||
$this->assertEquals(44, $doc->get()->num_value, 'The updated document is not correct');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user