Cannot use positional argument after named argument Php 8 error [duplicate]

 $table->enum(column:'role',['admin','vendor','customer'])->default(value:'customer');

I just started learning php and am getting an php error ‘ Cannot use positional argument after named argument’ in the above code .
Anyone to help?