Commit 50a0616f authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

add some return types I had forgotten

parent 83834bbc
Pipeline #2252 passed with stages
in 1 minute and 52 seconds
......@@ -12,7 +12,7 @@ class GroupsSeeder extends Seeder
* @param \Source\Gateways\Groups\DatabaseGroupsRepository $groups
* @return void
*/
public function run(DatabaseGroupsRepository $groups)
public function run(DatabaseGroupsRepository $groups): void
{
if ($groups->all()) {
throw new RuntimeException('Cannot seed database as it is not empty.');
......
......@@ -15,7 +15,7 @@ class UsersSeeder extends Seeder
* @return void
* @throws \Source\Exceptions\EntityNotFoundException
*/
public function run(DatabaseUsersRepository $users, DatabaseGroupUserRepository $repository)
public function run(DatabaseUsersRepository $users, DatabaseGroupUserRepository $repository): void
{
if ($users->all()) {
throw new RuntimeException('Cannot seed database as it not empty!');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment