Skip to content

Commit 23989b8

Browse files
committed
Update Field.php
Renamed variable $typeChecked to $checkType
1 parent 1f28a4d commit 23989b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Field.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Field
7070
/**
7171
* @var bool проверять ли тип значения поля
7272
*/
73-
public $typeChecked = false;
73+
public $checkType = false;
7474

7575
/**
7676
* @var bool обязательность
@@ -232,7 +232,7 @@ public function isValid($value, $isset = true): bool
232232
}
233233

234234
// валидация типа поля
235-
if (false !== $this->typeChecked) {
235+
if (false !== $this->checkType) {
236236
if (! $this->checkType($value)) return false;
237237
}
238238

0 commit comments

Comments
 (0)