Remove isa check on schema attributes
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / DeployMethod / SQL / Translator.pm
index cee797f..7a0d7e9 100644 (file)
@@ -38,7 +38,6 @@ has force_overwrite => (
 );
 
 has schema => (
-  isa      => 'DBIx::Class::Schema',
   is       => 'ro',
   required => 1,
 );
@@ -309,7 +308,7 @@ END_EVAL
 
   croak $@ if $@;
 
-  croak "$_file should define an anonymouse sub that takes a schema but it didn't!"
+  croak "$_file should define an anonymous sub that takes a schema but it didn't!"
      unless ref $fn && ref $fn eq 'CODE';
 
   return $fn;