fixed DecoratorPlugin.php for PHP 5.2

fixes #449