* Refactor common::canModify.

This commit is contained in:
sunguangming
2023-11-30 10:33:45 +08:00
parent 8725ae6dcd
commit e80dbdc6ea
+1 -1
View File
@@ -1684,7 +1684,7 @@ class commonModel extends model
* @access public
* @return bool
*/
public static function canModify($type, $object)
public static function canModify(string $type, object $object): bool
{
global $config;