title: Laravel 8: Array to string conversion while calling route:list
body: <p>I have a resource controller which is <code>ArticleController</code> and I want to call this controller in <code>web.php</code>, so I coded:</p>
  <pre><code>use App\Http\Controllers\Admin\PanelController;
  use App\Http\Controllers\Admin\ArticleController;
  
  Route::namespace('Admin')-&gt;prefix('admin')-&gt;group(function(){
    Route::get('/admin/panel', [PanelController::class, 'index']);
    Route::resource('articles', [ArticleController::class]);
  });
  </code></pre>
  <p>Then I tried the command <code>php artisan route:list</code> to check the routes but I get this error message:</p>
  <blockquote>
  <p>ErrorException</p>
  <p>Array to string conversion</p>
  </blockquote>
  <p>So why this error occurs, how can I fix it?</p>