No it won't:

```puppet
$var = '1'
class test{
  if ! is_integer($var) {
    fail()
  } else {
    notice('stringified ints still ints')
  }
}

include ::test
```

Result:
```
Notice: Scope(Class[Test]): stringified ints still ints
```