Skip to content
Snippets Groups Projects

Add strong typing for 3.0 version

Merged Krzysztof Dyszczyk requested to merge feature/strong-typing into devel
2 files
+ 3
2
Compare changes
  • Side-by-side
  • Inline

Files

+ 1
1
@@ -124,7 +124,7 @@ abstract class BasicField implements Field {
}
public function get_possible_values() {
return isset( $this->meta['possible_values'] ) ? $this->meta['possible_values'] : [];
return $this->meta['possible_values'] ?? [];
}
public function get_id(): string {
Loading