Name Change
[dbsrgits/DBIx-Class-Schema-RestrictWithObject.git] / t / lib / RestrictByUserTest / Schema / Users.pm
index 73b8178..c8b0d2a 100644 (file)
@@ -1,4 +1,4 @@
-package # hide from PAUSE 
+package # hide from PAUSE
    RestrictByUserTest::Schema::Users;
 
 use base 'DBIx::Class';
@@ -8,7 +8,7 @@ __PACKAGE__->table('test_users');
 __PACKAGE__->add_columns(
   'id' => {
     data_type => 'int',
-    is_nullable        => 0,
+    is_nullable => 0,
     is_auto_increment => 1,
   },
   'name' => {
@@ -23,14 +23,14 @@ __PACKAGE__->has_many("notes", "Notes", { "foreign.user_id" => "self.id" });
 sub restrict_Notes_resultset {
   my $self = shift; #the User object
   my $unrestricted_rs = shift;
-  
+
   return $self->related_resultset('notes');
 }
 
 sub restrict_MY_Notes_resultset {
   my $self = shift; #the User object
   my $unrestricted_rs = shift;
-  
+
   return $unrestricted_rs->search_rs( { user_id => $self->id } );
 }