Some cleanups, more usage of ObjectFactory:
[core.git] / inc / classes / main / helper / captcha / class_BaseCaptcha.php
index 313ef4c69b9c75c99d67e1c59700f0bc7eea0000..3ef952b7d94bcaabac2c7d1d3f09bf2be2159de0 100644 (file)
@@ -39,7 +39,7 @@ class BaseCaptcha extends BaseHelper {
         * @param       $extraInstance  An extra instance, just for better hash data
         * @return      void
         */
-       protected final function initializeRandomNumberGenerator (FrameworkInterface $extraInstance = null) {
+       protected final function initializeRandomNumberGenerator (FrameworkInterface $extraInstance = NULL) {
                // Get an RNG from factory
                $this->setRngInstance(ObjectFactory::createObjectByConfiguredName('rng_class', array($extraInstance)));
        }