title: Variables value is not passing in twig in drupal 8
body: <p>I am learning drupal 8 and making a custom block programmatically and also using twig with it. I am passing two variables to twig but the problem is that only value of first variable is shown on the page value of second variable is not showing. And if I change the variable name of first variable that also disappears from web page. How to solve this problem?</p>
  
  <p>Code of my blocks build function</p>
  
  <pre><code>  public function build() {
    $role = "";
    $username = "";
    $userId = 0;
   $db = Database::getConnection();
   $query = $db-&gt;select('user__roles', 'x')
  -&gt;fields('x', array('roles_target_id','entity_id'))
  -&gt;condition('x.roles_target_id', 'administrator', '=');
   $data = $query-&gt;execute();
  
  // Get all the results
  $results = $data-&gt;fetchAll(\PDO::FETCH_OBJ);
  
  // Iterate results
   foreach ($results as $row) {
  $role = $row-&gt;roles_target_id;
  $userId = $row-&gt;entity_id;
   }
   $query2 = $db-&gt;select('users_field_data','u')
      -&gt;fields('u',array('name'))
      -&gt;condition('u.uid',$userId,'=');
      $data2 = $query2-&gt;execute();
  
      // Get all the results
      $results2 = $data2-&gt;fetchAll(\PDO::FETCH_OBJ);
  
      foreach($results2 as $r)
      {
          $username = $r-&gt;name;
      }
  return array(
    '#title' =&gt; $username,
    '#descriptions' =&gt; 'Websolutions Agency is the industry leading Drupal development agency in Croatia', 
  );
   }  
  </code></pre>
  
  <p>code of my twig </p>
  
  <pre><code> &lt;h1&gt; name: {{ title }} &lt;/h1&gt;
  &lt;h2&gt;{{ descriptions }}&lt;/h2&gt;
  </code></pre>
  
  <p>code of my .module file</p>
  
  <pre><code> &lt;?php
   /**
  * Implements hook_theme().
  */
   function test_custom_theme() {
     return array(
       'test_custom_block' =&gt; array(
          'variables' =&gt; array('title' =&gt; NULL, 'descriptions' =&gt; NULL),
          'template' =&gt; 'block--test-custom',
      ),
  );
  }
  </code></pre>