diff options
Diffstat (limited to 'lib/WebService/TFL')
-rw-r--r-- | lib/WebService/TFL/Bus.pm | 2 | ||||
-rw-r--r-- | lib/WebService/TFL/Bus/Response.pm | 2 | ||||
-rw-r--r-- | lib/WebService/TFL/TubeStatus.pm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/WebService/TFL/Bus.pm b/lib/WebService/TFL/Bus.pm index 6352a5d..3559755 100644 --- a/lib/WebService/TFL/Bus.pm +++ b/lib/WebService/TFL/Bus.pm @@ -2,7 +2,7 @@ package WebService::TFL::Bus; use Moo; use namespace::autoclean; use Types::URI 'Uri'; -use Type::Utils -all; +use Type::Utils 'duck_type'; use WebService::TFL::Bus::Response; has user_agent => ( diff --git a/lib/WebService/TFL/Bus/Response.pm b/lib/WebService/TFL/Bus/Response.pm index 4251228..e05d49d 100644 --- a/lib/WebService/TFL/Bus/Response.pm +++ b/lib/WebService/TFL/Bus/Response.pm @@ -1,7 +1,7 @@ package WebService::TFL::Bus::Response; use Moo; use Class::Load 'load_class'; -use Type::Utils -all; +use Type::Utils 'class_type'; use Types::Standard -all; use JSON; use namespace::autoclean; diff --git a/lib/WebService/TFL/TubeStatus.pm b/lib/WebService/TFL/TubeStatus.pm index 3b69997..b0ba260 100644 --- a/lib/WebService/TFL/TubeStatus.pm +++ b/lib/WebService/TFL/TubeStatus.pm @@ -1,6 +1,6 @@ package WebService::TFL::TubeStatus; use Moo; -use Type::Utils -all; +use Type::Utils 'duck_type'; use Types::URI 'Uri'; use XML::LibXML; use XML::LibXML::XPathContext; |