title: Using the Scope Resolution Operator in Laravel
body: <p>I'm confused about an aspect of OOP/Laravel.</p>
  
  <p>I'm following an OOP tutorial (nothing to do with Laravel) that states that you can only use the Scope Resolution Operator when the method you are calling is <strong>static</strong>.</p>
  
  <p>So I created a quick script;</p>
  
  <pre><code>class Student { 
    function welcome_students($var="Hello") {
      echo "{$var} students.";
    }  
  }
  echo Student::welcome_students("Greetings") ."&lt;br /&gt;";
  </code></pre>
  
  <p>And I get the error;</p>
  
  <pre><code>Strict Standards: Non-static method Student::welcome_students() should
  not be called statically in /static_modifier.php on line 11 Greetings students.
  </code></pre>
  
  <p>But in Laravel 5, I've noticed that I've been using calls like </p>
  
  <pre><code>`ClassName::whereIn($var = `
  </code></pre>
  
  <p>in quite a few of my Controllers. I've checked the package where the <code>whereIn</code> method is stored and it's not <code>static</code>. It's just a <code>public function</code>.</p>
  
  <p>So how is Laravel 5 allowing me to get away with it? I'm in development mode so I don't know why I'm not seeing that same message.</p>