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 d939075 commit 027b316Copy full SHA for 027b316
src/Generator/Mutation/NodeEloquentGenerator.php
@@ -55,7 +55,7 @@ public function getArguments(Model $model) {
55
}
56
57
else if (!empty($guarded)) {
58
- $columns = array_diff(key($columns, $guarded));
+ $columns = array_diff_key($columns, $guarded);
59
60
61
if (!empty($hidden)) {
0 commit comments