Remove old comments

This commit is contained in:
Marcus Moore 2023-12-21 17:40:26 -08:00
parent a23a3b95d6
commit 9e0897b2cb
No known key found for this signature in database

View file

@ -31,9 +31,6 @@ class ReportTemplate extends Model
'options' => 'array',
];
// we will need a bit to catch and store the name of the report.
// for now the blip above is creating the name, but can be confusing if multiple are made at once
public function checkmarkValue(string $property): string
{
// Assuming we're using the null object pattern,
@ -55,7 +52,6 @@ class ReportTemplate extends Model
if (array_has($this->options, $property) && $this->options[$property] === $value) {
return $return;
}
// this is currently throwing an error. $property is coming through as a string and it needs to be an array
return null;
}