Skip to content

Commit

Permalink
Removes unnecessary returns, added gitattributes, removed file
Browse files Browse the repository at this point in the history
  • Loading branch information
santigarcor committed Sep 26, 2016
1 parent a90cf91 commit a2f83ec
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 32 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
* text=auto

/docs export-ignore
/tests export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.styleci.yml export-ignore
.travis.yml export-ignore
phpunit.xml export-ignore
24 changes: 0 additions & 24 deletions docs.php

This file was deleted.

2 changes: 0 additions & 2 deletions src/Laratrust/Traits/LaratrustGroupTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public static function bootLaratrustGroupTrait()
$group->roles()->sync([]);
$group->users()->sync([]);
}

return true;
});
}
}
2 changes: 0 additions & 2 deletions src/Laratrust/Traits/LaratrustPermissionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ public static function bootLaratrustPermissionTrait()
if (!method_exists(Config::get('laratrust.permission'), 'bootSoftDeletes')) {
$permission->roles()->sync([]);
}

return true;
});
}
}
2 changes: 0 additions & 2 deletions src/Laratrust/Traits/LaratrustRoleTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ public static function bootLaratrustRoleTrait()
$role->users()->sync([]);
$role->permissions()->sync([]);
}

return true;
});
}

Expand Down
2 changes: 0 additions & 2 deletions src/Laratrust/Traits/LaratrustUserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ public static function bootLaratrustUserTrait()
if (!method_exists(Config::get('auth.providers.users.model'), 'bootSoftDeletes')) {
$user->roles()->sync([]);
}

return true;
});
}

Expand Down

0 comments on commit a2f83ec

Please sign in to comment.