@@ -94,7 +94,9 @@ |
||
| 94 | 94 | private function getStateId($stateIdent) |
| 95 | 95 | { |
| 96 | 96 | $state = State::where('code', $stateIdent)->first(); |
| 97 | - if ( !$state ) return null; |
|
| 97 | + if ( !$state ) { |
|
| 98 | + return null; |
|
| 99 | + } |
|
| 98 | 100 | |
| 99 | 101 | return $state->id; |
| 100 | 102 | } |