I can confirm I get a similar issue with Laravel 4.20 that at lease appears related.
protected $attributes = array(
'id' => Uuid::generate(4)
);
I get the error: PHP Parse error, unexpected '(', expecting ')' in ...
if I replace the generate method with a literal like 'test', it works.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community