mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Remove old comments
This commit is contained in:
parent
a23a3b95d6
commit
9e0897b2cb
|
@ -31,9 +31,6 @@ class ReportTemplate extends Model
|
||||||
'options' => 'array',
|
'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
|
public function checkmarkValue(string $property): string
|
||||||
{
|
{
|
||||||
// Assuming we're using the null object pattern,
|
// 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) {
|
if (array_has($this->options, $property) && $this->options[$property] === $value) {
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
// this is currently throwing an error. $property is coming through as a string and it needs to be an array
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue