Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: clean unused imports in controllers and extend from control… #376

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lavy
Copy link

@lavy lavy commented Jan 17, 2023

Refactor for controllers:

I remove the unused imports on controllers and make Controller as the base class with SchoolSession, on this way we could get sessions from controllers

…ler as base class with SchoolSessionInterface
@lavy
Copy link
Author

lavy commented Jan 17, 2023

@changeweb can you merge it? I want to collaborate more with the next features, we could try to implement improvements

@changeweb
Copy link
Owner

@changeweb can you merge it? I want to collaborate more with the next features, we could try to implement improvements

@lavy , Great to hear that you are eager to collaborate. I will get free time on 20th Jan and I will review these pull requests. Hope you understand.

I would appreciate if you could add tests for any PRs. Thanks for the PRs BTW.

@lavy
Copy link
Author

lavy commented Jan 18, 2023

Hi @changeweb in the next PRs i will add tests, in this case i didn't change so much, but i want to try to help in organize first and after that introduce some tests

@changeweb
Copy link
Owner

@lavy please address the review.

@lavy
Copy link
Author

lavy commented Jan 20, 2023

Do you review it on pair? i have no time in this moment.

@@ -2,23 +2,20 @@

namespace App\Http\Controllers;

use App\Http\Controllers\Controller;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How the Controller class will be extended if it is not imported?

@changeweb
Copy link
Owner

Do you review it on pair? i have no time in this moment.

I reviewed it. Please check now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants