for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace RouterOS\Helpers;
/**
* Class TypeHelper
*
* @package RouterOS\Helpers
* @since 0.7
*/
class TypeHelper
{
* Compare data types of some value
* @param string $name Name of value
* @param mixed $whatType What type has value
* @param mixed $isType What type should be
* @return bool
public static function checkIfTypeMismatch(string $name, $whatType, $isType): bool
$name
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return ($whatType !== $isType);
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.