| Total Complexity | 3 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class UpdateAccount extends Component |
||
| 17 | { |
||
| 18 | use AuthorizesRequests; |
||
| 19 | use Toastable; |
||
| 20 | use WithFileUploads; |
||
|
|
|||
| 21 | |||
| 22 | /** |
||
| 23 | * The form used to create/update a model. |
||
| 24 | * |
||
| 25 | * @var AccountForm |
||
| 26 | */ |
||
| 27 | public AccountForm $form; |
||
| 28 | |||
| 29 | public function mount(): void |
||
| 38 | } |
||
| 39 | |||
| 40 | public function render() |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Update the post. |
||
| 47 | * |
||
| 48 | * @throws Throwable |
||
| 49 | */ |
||
| 50 | public function update() |
||
| 66 |