Update assets.php

Fixed Parse error: syntax error, unexpected '[' ...lib/assets.php on line 27