Форматирование
This commit is contained in:
@@ -8,6 +8,7 @@ use Illuminate\Support\Facades\DB;
|
||||
class CurrentPatientService
|
||||
{
|
||||
const PLAN_STATUSES = [1];
|
||||
|
||||
const EMERGENCY_STATUSES = [2, 3];
|
||||
|
||||
public function getCurrentMedicalHistoryIds(string $type, int $branchId, DateRange $dateRange, bool $fillableAuto = false)
|
||||
@@ -16,7 +17,7 @@ class CurrentPatientService
|
||||
return $this->getHistoricalCurrentMedicalHistoryIds($type, $branchId, $dateRange);
|
||||
}
|
||||
|
||||
$typeIds = match($type) {
|
||||
$typeIds = match ($type) {
|
||||
'plan' => self::PLAN_STATUSES,
|
||||
'emergency' => self::EMERGENCY_STATUSES,
|
||||
default => null
|
||||
@@ -34,7 +35,7 @@ class CurrentPatientService
|
||||
{
|
||||
$endAt = $dateRange->endSql();
|
||||
|
||||
$typeIds = match($type) {
|
||||
$typeIds = match ($type) {
|
||||
'plan' => self::PLAN_STATUSES,
|
||||
'emergency' => self::EMERGENCY_STATUSES,
|
||||
default => null
|
||||
|
||||
Reference in New Issue
Block a user