title: Laravel 5.4 class User not found
body: <p>I am using laravel 5.4 i got and error that </p>
  
  <blockquote>
    <p>FatalThrowableError in HasRelationships.php line 487: Class 'User' not
    found</p>
  </blockquote>
  
  <p>In my model i am using the following code</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  use Auth;
  use App\User;
  class Review extends Model
  {
   public function user()
    {
      return $this-&gt;belongsTo('User');
    }
  }
  </code></pre>
  
  <p>Could any one help me fix this error</p>