private function inferType($binding)
	{
		if (is_bool($binding))
		{
			$type = \PDO::PARAM_BOOL;
		}
		elseif (is_null($binding))
		{
			$type = \PDO::PARAM_NULL;
		}
		elseif (is_int($binding))
		{
			$type = \PDO::PARAM_INT;
		}
		else
		{
			$type = \PDO::PARAM_STR;
		}

		return $type;
	}
private function inferType($binding)
	{
		if (is_bool($binding))
		{
			$type = \PDO::PARAM_BOOL;
		}
		elseif (is_null($binding))
		{
			$type = \PDO::PARAM_NULL;
		}
		elseif (is_int($binding))
		{
			$type = \PDO::PARAM_INT;
		}
		else
		{
			$type = \PDO::PARAM_STR;
		}

		return $type;
	}
private function inferType ( $ binding ) { if ( is_bool ( $ binding ) ) { $ type = \ PDO :: PARAM_BOOL ; } elseif ( is_null ( $ binding ) ) { $ type = \ PDO :: PARAM_NULL ; } elseif ( is_int ( $ binding ) ) { $ type = \ PDO :: PARAM_INT ; } else { $ type = \ PDO :: PARAM_STR ; } return $ type ; }
Infers the variable type from the variable itself

Some sql syntax is more particular about type than others.

@param   mixed  $binding  The binding to infer from
@return  int
@since   2.0.0
Infers the variable type from the variable itself