Updated syntax to remove warnings on phpcs.