Skip to content

Commit

Permalink
Fix property binder problem
Browse files Browse the repository at this point in the history
  • Loading branch information
reziamini committed Aug 4, 2022
1 parent f0a8f22 commit 9e8daf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parsers/StubParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function parseSetPropertiesValue()
{
$fields = array_keys($this->inputs);
$str = '';
$action = $this->inputName;
$action = strtolower($this->inputName);
foreach ($fields as $field) {
$str .= '$this->'.$field.' = $this->'.$action.'->'.$field.';';
$str .= $this->makeTab(2, end($fields) != $field);
Expand Down

0 comments on commit 9e8daf1

Please sign in to comment.