Rt
Size: a a a
Rt
Rt
IA
Rt
Rt
Rt
IA
Rt
Y
Rt
PB
VY
if ($id !== null) {
$infoSection = InfoSection::find($id);
} else {
$infoSection = new InfoSection();
}
.............................. (операции с данными)
$infoSection->save();
$this->saveInfoSectionRelations($data, $infoSection->id);
->id
выводит мне подсказку "Potentially polymorphic call. The code may be inoperable depending on the actual class instance passed as the argument."V
IA
V
V
V
if ($id !== null) {
$infoSection = InfoSection::find($id);
} else {
$infoSection = new InfoSection();
}
.............................. (операции с данными)
$infoSection->save();
$this->saveInfoSectionRelations($data, $infoSection->id);
->id
выводит мне подсказку "Potentially polymorphic call. The code may be inoperable depending on the actual class instance passed as the argument."V
Rt
VY