We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43de6c0 commit be10f21Copy full SHA for be10f21
1 file changed
tests/system/Models/GetCompiledModelTest.php
@@ -24,10 +24,7 @@
24
*/
25
final class GetCompiledModelTest extends CIUnitTestCase
26
{
27
- /**
28
- * @var Model
29
- */
30
- private $model;
+ private ?object $model = null;
31
32
/**
33
* Create an instance of Model for use in testing.
@@ -50,7 +47,7 @@ public function testGetCompiledInsert(): void
50
47
51
48
$this->createModel(UserObjModel::class);
52
49
53
- $sql = $this->model
+ $this->model
54
->set('name', 'Mark')
55
->set('email', 'mark@example.com')
56
->getCompiledInsert();
@@ -66,7 +63,7 @@ public function testGetCompiledUpdate(): void
66
63
67
64
68
65
69
70
71
72
->getCompiledUpdate();
0 commit comments