@@ -1778,8 +1778,6 @@ private function addDollarSign($input)
1778
1778
return sprintf ("$%s " , ltrim ($ this ->stripQuotes ($ input ), '$ ' ));
1779
1779
}
1780
1780
1781
- // @codingStandardsIgnoreStart
1782
-
1783
1781
/**
1784
1782
* Wrap parameters into a function call.
1785
1783
*
@@ -1843,9 +1841,9 @@ private function wrapFunctionCallWithReturnValue($returnVariable, $actor, $actio
1843
1841
return $ output ;
1844
1842
}
1845
1843
1846
- // @codingStandardsIgnoreEnd
1847
-
1848
1844
/**
1845
+ * Closure returned is used as a callable for array_filter to remove null values from array
1846
+ *
1849
1847
* @return callable
1850
1848
*/
1851
1849
private function filterNullCallback ()
@@ -1857,6 +1855,7 @@ private function filterNullCallback()
1857
1855
1858
1856
/**
1859
1857
* Resolves {{_ENV.variable}} into getenv("variable") for test-runtime ENV referencing.
1858
+ *
1860
1859
* @param array $args
1861
1860
* @param string $regex
1862
1861
* @param string $func
@@ -1926,6 +1925,8 @@ private function validateParameterArray($paramArray)
1926
1925
}
1927
1926
1928
1927
/**
1928
+ * Verifies whether we have correctly wrapped array syntax
1929
+ *
1929
1930
* @param string $paramArray
1930
1931
* @return boolean
1931
1932
*/
@@ -1972,6 +1973,8 @@ private function resolveValueByType($value = null, $type = null)
1972
1973
}
1973
1974
1974
1975
/**
1976
+ * Determines correct scope based on parameter
1977
+ *
1975
1978
* @param string $generationScope
1976
1979
* @return string
1977
1980
*/
@@ -2103,6 +2106,8 @@ private function printRuleErrorToConsole($key, $tagName, $attributes)
2103
2106
}
2104
2107
2105
2108
/**
2109
+ * Wraps parameters array with opening and closing symbol.
2110
+ *
2106
2111
* @param string $value
2107
2112
* @return string
2108
2113
*/
@@ -2112,6 +2117,8 @@ private function wrapParameterArray(string $value): string
2112
2117
}
2113
2118
2114
2119
/**
2120
+ * Determines whether string provided contains decimal point characteristic for current locale
2121
+ *
2115
2122
* @param string $outStr
2116
2123
* @return boolean
2117
2124
*/
0 commit comments