We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6adeb3 commit e8536c3Copy full SHA for e8536c3
phpstan-baseline.php
@@ -33,7 +33,7 @@
33
];
34
$ignoreErrors[] = [
35
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
36
- 'count' => 15,
+ 'count' => 14,
37
'path' => __DIR__ . '/system/BaseModel.php',
38
39
system/BaseModel.php
@@ -1463,7 +1463,7 @@ public function validate($data): bool
1463
1464
$rules = $this->getValidationRules();
1465
1466
- if (empty($rules)) {
+ if ($rules === []) {
1467
return true;
1468
}
1469
0 commit comments