Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -38,14 +38,14 @@ class LinkAllowedHostConstraint extends Constraint {
/**
* {@inheritdoc}
*/
public function getDefaultOption() {
public function getDefaultOption(): ?string {
return 'hosts';
}
/**
* {@inheritdoc}
*/
public function getRequiredOptions() {
public function getRequiredOptions(): array {
return (array) $this->getDefaultOption();
}
Loading