mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Use IsTrue instead of True class to be PHP7 compliant
This commit is contained in:
@@ -62,7 +62,7 @@ class PhraseaRegisterForm extends AbstractType
|
||||
'label' => 'Terms of Use',
|
||||
'mapped' => false,
|
||||
"constraints" => [
|
||||
new Assert\True([
|
||||
new Assert\IsTrue([
|
||||
"message" => "Please accept the Terms and conditions in order to register."
|
||||
])],
|
||||
]);
|
||||
|
Reference in New Issue
Block a user