Contraint Reason 추가
This commit is contained in:
1 parent
7fe04eee5a
commit
61c1221b5e
2 files changed
+3
-3
No files matched your search
@@ -209,7 +209,7 @@ abstract class Constraint{
|
||||
|
||||
|
||||
if(!$constraint->test()){
|
||||
return $constraint->reason();
|
||||
return [\sammo\Util::getClassNameFromObj($constraint), $constraint->reason()];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user