title: Laravel 5.4 double arrow error in routes (syntax error, unexpected '=>' (T_DOUBLE_ARROW))
body: <p>I used this routes for either Laravel 5.1 and Laravel 5.3, and now when I'm using this type of route order it gives me the title error hope you can help me, you can find the code here :</p>
  
  <pre><code>Route::prefix('productos')-&gt;group(function () {
  
      'as' =&gt; 'products.index', 
      'uses' =&gt; 'ProductController@index'
  
      Route::get('crear',[
          'as' =&gt; 'products.create', 
          'uses' =&gt; 'ProductController@create'
      ]);
      Route::post('guardar',[
          'as' =&gt; 'products.store', 
          'uses' =&gt; 'ProductController@store'
      ]);
      // Editar, borrar
      Route::get('{id}',[
          'as' =&gt; 'products.destroy', 
          'uses' =&gt; 'ProductController@destroy'
      ]);
      Route::get('{id}/editar',[
          'as' =&gt; 'products.edit', 
          'uses' =&gt; 'ProductController@edit'
      ]);
      Route::put('{id}',[
          'as' =&gt; 'products.update', 
          'uses' =&gt; 'ProductController@update'
      ]);
  });
  </code></pre>