codestyle says to use:
`if (is_int($component) || is_null($component))
{`