title: getParam() always returns null
body: <p>I'm trying to get the project id from the url using the router. Let's say this is my URL: <a href="http://boardash.test/tasks/all/7" rel="nofollow noreferrer">http://boardash.test/tasks/all/7</a> and I want to get the 7 in my controller.</p>
  
  <p>I created a router using this:</p>
  
  <pre><code>$router-&gt;add(
      '/tasks/:action/{project}',
      [
          'controller' =&gt; 'tasks',
          ':action'    =&gt; 1
      ]
  );
  </code></pre>
  
  <p>And try to access it using:</p>
  
  <p><code>$this-&gt;dispatcher-&gt;getParam('project');</code></p>
  
  <p>But when I <code>var_dump()</code> this, it returns <code>null</code></p>
  
  <p><strong>What am I missing?</strong></p>