[BUGFIX] Reallow '0' as valid userFunc argument in TypoScript
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Configuration / TypoScript / ConditionMatching / Fixtures / ConditionMatcherUserFuncs.php
index 0e45078..174ec34 100644 (file)
  */
 
 namespace {
+    function user_testFunctionWithNoArgument()
+    {
+        return count(func_get_args()) === 0;
+    }
+
     function user_testFunctionWithSingleArgument()
     {
         return count(func_get_args()) === 1;