saidtechnology / newsapp_api

Invalid static method call detected PHP-E1003
Bug risk
Critical
5 months agoa year old
Call to static method get() on an unknown class Route
33
34Auth::routes();
35
36Route::get('/home', 'HomeController@index')->name('home');
Call to static method routes() on an unknown class Auth
31    return view('welcome');
32});
33
34Auth::routes();35
36Route::get('/home', 'HomeController@index')->name('home');
Call to static method get() on an unknown class Route
27    return \App\Comment::all();
28});
29
30Route::get('/', function () {31    return view('welcome');
32});
33
Call to static method get() on an unknown class Route
23    return \App\Post::all();
24});
25
26Route::get('/comments', function () {27    return \App\Comment::all();
28});
29
Call to static method get() on an unknown class Route
19    return \App\Category::all();
20});
21
22Route::get('/posts', function () {23    return \App\Post::all();
24});
25