We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a4aa5e commit ee8fc38Copy full SHA for ee8fc38
src/Dashboard/Add/Respond.php
@@ -16,6 +16,6 @@ class Respond
16
*/
17
function __invoke(Response $response, ViewModel $model = null) : ViewModel
18
{
19
- return $model->with(['args' => array_merge([__CLASS__], $model['args'])]);
+ return $model->with(['args' => [__CLASS__, ...$model['args']]]);
20
}
21
src/Dashboard/Add/Save.php
@@ -13,6 +13,6 @@ class Save
13
14
function __invoke(ViewModel $model) : ViewModel
15
0 commit comments