Warning: Trying to access array offset on value of type int in code example
Example: trying to access array offset on value of type bool
Easy with PHP ?? null coalescing operator
return $Row['Data'] ?? 'default value';
Or you can use as such
$Row['Data'] ??= 'default value';
return $Row['Data'];