From 9e0897b2cb8388a2d49a9cea79591011bd74bf11 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Thu, 21 Dec 2023 17:40:26 -0800 Subject: [PATCH] Remove old comments --- app/Models/ReportTemplate.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Models/ReportTemplate.php b/app/Models/ReportTemplate.php index 2eeafa57ac..6e16011779 100644 --- a/app/Models/ReportTemplate.php +++ b/app/Models/ReportTemplate.php @@ -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; }