- Issue created by @leofishman
- Status changed to Fixed
5 months ago 1:46pm 19 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\burndown\Entity\Task->getEstimate() (line 834 of modules/contrib/burndown/src/Entity/Task.php).
Add a new task with no estimation
public function getEstimate() {
if ($this->getEstimateType() == 'geometric') {
$estimate = $this->get('estimate')->value ?? '';
$estimate = str_replace('D', '', $estimate);
return $estimate;
}
return $this->get('estimate')->value ?? '';
}
Fixed
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.