Fix: PHP 8.4 compatibility - avoid implicit null [TMZ-616] (#485)

This commit is contained in:
Nurit Shahar 2025-05-20 16:46:57 +03:00 committed by GitHub
parent c79dadce64
commit cbc63e0b48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,7 +196,7 @@ abstract class Module_Base {
* @param ?array $components_ids => component's class name.
* @return void
*/
protected function register_components( array $components_ids = null ): void {
protected function register_components( ?array $components_ids = null ): void {
if ( empty( $components_ids ) ) {
$components_ids = $this->get_component_ids();
}