Source

p5-p5u / lib / P5U / Lib / DebianRelease.pm

Diff from to

lib/P5U/Lib/DebianRelease.pm

 };
 
 use Moo;
-use Scalar::Does;
+use MooX::Types::MooseLike::Base qw< HashRef InstanceOf >;
 use IO::Uncompress::Gunzip qw< gunzip $GunzipError >;
 use JSON             2.00  qw< from_json >;
 use LWP::Simple      0     qw< get >;
 
 has debian => (
 	is         => 'lazy',
-	isa        => does('HASH'),
+	isa        => HashRef,
 );
 
 has cache_file => (
 	is         => 'ro',
+	isa        => InstanceOf['Path::Class::File'],
 	required   => 1,
 );