if conflictOfferAndZone Size echo if die return json_encode size_confl

1
2
3
4
5
6
7
if (!$conflictOfferAndZoneSize) {
echo 'if';die;
return json_encode(['size_conflict' => true]);
} else if ($conflictOfferAndZoneSize == 'promo_not_found') {
echo 'else';die;
return json_encode(['promo_not_found' => true]);
}