Skip to content

Commit 6157615

Browse files
committed
wip
1 parent d8f57f8 commit 6157615

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Http/Controllers/MorphToController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ class MorphToController extends Controller
1414
/**
1515
* Handle the incoming request.
1616
*/
17-
public function __invoke(Request $request, Model $model): Response
17+
public function __invoke(Request $request, Model $model, Model $related): Response
1818
{
1919
$field = $request->route('field');
2020

21-
$data = $field->toInput($request, $model);
21+
$data = $field->toInput($request, $related);
2222

2323
return ResponseFactory::view($data['template'], $data);
2424
}

src/Root.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Root
2727
*
2828
* @var string
2929
*/
30-
public const string VERSION = '2.7.6';
30+
public const string VERSION = '2.7.7';
3131

3232
/**
3333
* The registered booting callbacks.

0 commit comments

Comments
 (0)