diff options
Diffstat (limited to 'app/frontend/db/ActiveRecord.php')
-rw-r--r-- | app/frontend/db/ActiveRecord.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/frontend/db/ActiveRecord.php b/app/frontend/db/ActiveRecord.php index 31f87f5..45469dc 100644 --- a/app/frontend/db/ActiveRecord.php +++ b/app/frontend/db/ActiveRecord.php @@ -2,7 +2,7 @@ class ActiveRecord extends TActiveRecord { - private function _getMappedPropertyName($name) { + private function _getMappedPropertyName(string $name) { if (isset(static::$COLUMN_MAPPING[$name])) { return static::$COLUMN_MAPPING[$name]; } @@ -16,7 +16,7 @@ class ActiveRecord extends TActiveRecord { 'deleteallby' ]; - private function _getMappedMethodName($method) { + private function _getMappedMethodName(string $method) { if (static::$COLUMN_MAPPING) { $methodParts = []; if (preg_match('/^(' . implode('|', self::DYNAMIC_METHODS) . ')(.*)$/i', $method, $methodParts)) { |