Skip to content

Commit

Permalink
fixup! feat(app-framework): Add UseSession attribute to replace annot…
Browse files Browse the repository at this point in the history
…ation

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Jan 26, 2023
1 parent 3780e64 commit 4c9766e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/public/AppFramework/Http/Attribute/UseSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@

#[Attribute]
class UseSession {

}
3 changes: 2 additions & 1 deletion tests/lib/AppFramework/Middleware/SessionMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public function withAnnotation() {
#[UseSession]
public function withAttribute() {
}
public function without() {}
public function without() {
}
};
$this->middleware = new SessionMiddleware(
$this->reflector,
Expand Down

0 comments on commit 4c9766e

Please sign in to comment.