Skip to content

Commit

Permalink
Fix rules typo
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyamaSM authored Feb 19, 2019
1 parent 84376d2 commit 9556124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Helpers/FieldsBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function build()
echo "{$field['type']}::make('". snake_case($name) ."','{$name}')";
// rules
if(isset($field['rules'])){
echo "->rule('". implode("', '", $field['rules']) ."')";
echo "->rules('". implode("', '", $field['rules']) ."')";
}

// Visibilities
Expand All @@ -64,4 +64,4 @@ public function build()
}
}

}
}

0 comments on commit 9556124

Please sign in to comment.