title: How to configure function of login(); with GET request?
body: <p>He everyone!This is my code,but PHPSTORM said me that I have errors</p>
  
  <pre><code> function login() {
    if (isset($_GET['login'])) &amp;&amp; (isset($_GET['oldPassword'])){
     {
        echo $_GET['login'];
        echo $_GET['oldPassword'];
    } else {
        // Fallback behaviour goes here
  
  $login = login($_GET['login']);
  $password = login($_GET['oldPassword']);
  }
  </code></pre>
  
  <p>Maybe something is not correct.Here screenshot</p>
  
  <p><a href="https://i.stack.imgur.com/f4lAF.png" rel="nofollow noreferrer">enter image description here</a></p>