syntax error, unexpected '$config' (T_VARIABLE) in Silverstripe
<p>I have create a class GalleryImage In SilverStripe.In that I am creating a config object for the grid field, but it gives error syntax error, unexpected '$config' (T_VARIABLE). How to solve this ?</p>

<pre><code>    $config = GridFieldConfig::create(); 
</code></pre>
