Skip to content

Conversation

@shdehnavi
Copy link
Contributor

Summary

The required adjustments have been made to the classes in the /core/Middleware namespace.

The improvements:

  • Adding return types
  • Adding throws types
  • Adding types to properties

Checklist

@solracsf solracsf added 3. to review Waiting for reviews technical debt labels Jul 6, 2023
@solracsf solracsf added this to the Nextcloud 28 milestone Jul 6, 2023
@shdehnavi shdehnavi requested a review from come-nc July 18, 2023 08:42
shdehnavi and others added 3 commits September 29, 2023 11:35
Signed-off-by: Hamid Dehnavi <[email protected]>
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Hamid Dehnavi <[email protected]>
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Hamid Dehnavi <[email protected]>
@fsamapoor fsamapoor force-pushed the refactor_core_middleware branch from 487ebc4 to c54570b Compare September 29, 2023 08:05
@come-nc
Copy link
Contributor

come-nc commented Oct 2, 2023

Error: core/Middleware/TwoFactorMiddleware.php:73:7: TypeDoesNotContainType: Cannot resolve types for $controller - OCP\AppFramework\Controller does not contain OCA\TwoFactorNextcloudNotification\Controller\APIController (see https://psalm.dev/056)

@shdehnavi shdehnavi closed this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants