I'm trying to add a class to a laravel form. The array is being passed as the third argument, as required, but I get the above error.
{{ Form::input('text', $variable->name, array('class' => 'form-control')) }}
If I get rid of the third argument, the form displays as expected (unstyled). I can't see what I'm doing wrong here - can anyone help?