title: Why am I receiving this compiler error. The syntax appears correct to me
body: <p>I'm receiving the following error on my wordpress site:</p>
  <p><em>An error of type E_PARSE was caused in line 56 of the file /var/www/compass.valuescentre.com/wp-content/plugins/woocommerce/woocommerce.php. Error message: syntax error, unexpected ':', expecting '{'</em></p>
  <p>Below is my code from line 56-58:</p>
  <p><code>function wc_get_container() : \Psr\Container\ContainerInterface { return $GLOBALS['wc_container']; }</code></p>