title: Laravel 5, Method 'findOrFail' not found in class
body: <p>I'm learning Laravel 5 from the Laracast course: <a href="https://laracasts.com/series/laravel-5-fundamentals" rel="nofollow">Laravel 5 Fundamentals</a>, using PhpStorm IDE.</p>
  
  <p>I have issue with the static methods of model, such as <code>where()</code>, <code>find()</code>, and <code>findOrFail()</code>.</p>
  
  <p>When I use these methods PhpStorm shows:</p>
  
  <blockquote>
    <p>Method 'findOrFail' not found in class App\Article.</p>
  </blockquote>
  
  <p>My model is Article, and the method <code>all()</code> works. </p>
  
  <p>How can I solve this?</p>