X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Ftypes%2Fcompat%2Finteger.pp;fp=3rdparty%2Fmodules%2Fstdlib%2Ftypes%2Fcompat%2Finteger.pp;h=047344d55a0a86283f00f8dd4ac74920d145ef59;hb=131e09855e065be940e104d9ab0f18940cc76257;hp=e5cadb61947176a38032e66c3f963eb7c3e296f5;hpb=407d322498f4fde815abf381007fbecfe5c10b2b;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/stdlib/types/compat/integer.pp b/3rdparty/modules/stdlib/types/compat/integer.pp index e5cadb619..047344d55 100644 --- a/3rdparty/modules/stdlib/types/compat/integer.pp +++ b/3rdparty/modules/stdlib/types/compat/integer.pp @@ -20,4 +20,4 @@ # > Note that you need to use Variant[Integer[0, 10], Float[0, 10]] if you want to match both integers and floating point numbers. # # This allows you to find all places where a consumers of your code call it with unexpected values. -type Stdlib::Compat::Integer = Variant[Integer, Pattern[/^-?(?:(?:[1-9]\d*)|0)$/], Array[Variant[Integer, Pattern[/^-?(?:(?:[1-9]\d*)|0)$/]]]] +type Stdlib::Compat::Integer = Variant[Integer, Pattern[/^-?(?:(?:[1-9]\d*)|0)$/], Array[Variant[Integer, Pattern[/^-?(?:(?:[1-9]\d*)|0)$/]]]] # lint:ignore:140chars