Skip to content

Throw and null coalesce combination #16

Open
@peldax

Description

@peldax
$this->brokerModel->updateFromInput($seller->getBroker(), $input->broker
    ?? throw new \App\Exception\SellerTypeChange());

is replaced with

$this->brokerModel->updateFromInput($seller->getBroker(), $input->broker
    ??
throw new \App\Exception\SellerTypeChange());

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions