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 ed97a31 commit 9c4b921Copy full SHA for 9c4b921
src/lib/ValidationRulesBuilder.php
@@ -144,7 +144,6 @@ private function addRulesByAttributeName(Attribute $attribute):void
144
foreach ($patterns as $pattern => $validator) {
145
if (empty($attribute->reference) # ignore column name based rules in case of reference/relation # https://github.com/cebe/yii2-openapi/issues/159
146
&& preg_match($pattern, strtolower($attribute->columnName))) {
147
-
148
$key = $attribute->columnName . '_' . $validator;
149
$this->rules[$key] = new ValidationRule([$attribute->columnName], $validator);
150
return;
0 commit comments