mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +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',
|
'label' => 'Terms of Use',
|
||||||
'mapped' => false,
|
'mapped' => false,
|
||||||
"constraints" => [
|
"constraints" => [
|
||||||
new Assert\True([
|
new Assert\IsTrue([
|
||||||
"message" => "Please accept the Terms and conditions in order to register."
|
"message" => "Please accept the Terms and conditions in order to register."
|
||||||
])],
|
])],
|
||||||
]);
|
]);
|
||||||
|
Reference in New Issue
Block a user