remove further type hints for compatibility

This commit is contained in:
El RIDO 2019-05-10 22:00:34 +02:00
parent bd4dee0f3e
commit b1d35057cc
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -237,7 +237,7 @@ class Helper
* @param string $path * @param string $path
* @throws Exception * @throws Exception
*/ */
public static function rmDir(string $path) public static function rmDir($path)
{ {
if (is_dir($path)) { if (is_dir($path)) {
$path .= DIRECTORY_SEPARATOR; $path .= DIRECTORY_SEPARATOR;
@ -296,7 +296,7 @@ class Helper
* @param string $pathToFile * @param string $pathToFile
* @param array $values * @param array $values
*/ */
public static function createIniFile(string $pathToFile, array $values) public static function createIniFile($pathToFile, array $values)
{ {
if (count($values)) { if (count($values)) {
@unlink($pathToFile); @unlink($pathToFile);
@ -339,7 +339,7 @@ class Helper
* @param bool $return * @param bool $return
* @return void|string * @return void|string
*/ */
public static function varExportMin($var, bool $return = false) public static function varExportMin($var, $return = false)
{ {
if (is_array($var)) { if (is_array($var)) {
$toImplode = array(); $toImplode = array();