public function toReportType($some_value)
    {
        $report_types_array = $this->toArrayOfReportTypes($some_value);

        return isset($report_types_array[0]) && (($report_type = $report_types_array[0]) instanceof ReportType)
            ? $report_type
            : null;
    }
public function toReportType($some_value)
    {
        $report_types_array = $this->toArrayOfReportTypes($some_value);

        return isset($report_types_array[0]) && (($report_type = $report_types_array[0]) instanceof ReportType)
            ? $report_type
            : null;
    }
{@inheritdoc}