This commit is contained in:
2021-08-17 17:04:54 +08:00
parent 384b5d43ae
commit 37392bb6f0
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -22,9 +22,9 @@ class Setter
/**
* @param $class
* @param $name
* @return mixed|null
* @return null|array|string
*/
public function getSetter($class, $name): ?string
public function getSetter($class, $name): null|array|string
{
return $this->_classMapping[$class][$name] ?? null;
}