title: How do i resolve Deprecated: Non-static method Session::get() should not be called statically in C:\xampp\htdocs\ooplr\classes\token.php on line 13
body: <p>This code generates hashed password</p>
  
  <pre><code>class Token {
      public static function generate()
      {
          return Session::put(Config::get('session/token_name'), md5(uniqid()));
      }
  
      public static function check($token)
      {
          $tokenName = Config::get('session/token_name');
  
          if (Session::exists($tokenName) &amp;&amp; $token === Session::get($tokenName)) 
          {
              return true;
          }
  
          return false;
      }
  }
  </code></pre>
  
  <p>But then I can't debug this program , please what's wrong it. thanks in ADVANCE </p>