comparison vendor/symfony/validator/Constraints/All.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
17 * 17 *
18 * @author Bernhard Schussek <bschussek@gmail.com> 18 * @author Bernhard Schussek <bschussek@gmail.com>
19 */ 19 */
20 class All extends Composite 20 class All extends Composite
21 { 21 {
22 public $constraints = array(); 22 public $constraints = [];
23 23
24 public function getDefaultOption() 24 public function getDefaultOption()
25 { 25 {
26 return 'constraints'; 26 return 'constraints';
27 } 27 }
28 28
29 public function getRequiredOptions() 29 public function getRequiredOptions()
30 { 30 {
31 return array('constraints'); 31 return ['constraints'];
32 } 32 }
33 33
34 protected function getCompositeOption() 34 protected function getCompositeOption()
35 { 35 {
36 return 'constraints'; 36 return 'constraints';