database/factories/CharacterAffiliationFactory.php
Showing 0 of 1 total issue
The method configure uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Invalid
Invalid
} else { // if corporation does not exist, create it CorporationInfo::factory()->create([ 'corporation_id' => $character_affiliation->corporation_id, 'alliance_id' => $character_affiliation->alliance_id,
- Read upRead up
- Exclude checks