Document and add example of foreign_related_object
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Collection.pm
index 96f6399..a5f9d86 100644 (file)
@@ -1,6 +1,9 @@
-package # hide from PAUSE 
+package # hide from PAUSE
     DBICTest::Schema::Collection;
 
+use warnings;
+use strict;
+
 use base qw/DBICTest::BaseResult/;
 
 __PACKAGE__->table('collection');
@@ -24,7 +27,7 @@ __PACKAGE__->many_to_many( pointy_objects => collection_object => "object",
                            { where => { "object.type" => "pointy" } }
                          );
 __PACKAGE__->many_to_many( round_objects => collection_object => "object",
-                           { where => { "object.type" => "round" } } 
+                           { where => { "object.type" => "round" } }
                          );
 
 1;