Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Jul 26, 2022
1 parent 7f0feda commit 0082dea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
4 changes: 4 additions & 0 deletions lib/ContextStackTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ trait ContextStackTrait
* This allows you to safely modify the elementMap, contextUri or
* namespaceMap. After you're done, you can restore the old data again
* with popContext.
*
* @return void
*/
public function pushContext()
{
Expand All @@ -105,6 +107,8 @@ public function pushContext()

/**
* Restore the previous "context".
*
* @return void
*/
public function popContext()
{
Expand Down
20 changes: 0 additions & 20 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,6 @@ parameters:
count: 1
path: lib/Reader.php

-
message: "#^Method Sabre\\\\Xml\\\\Reader\\:\\:popContext\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Reader.php

-
message: "#^Method Sabre\\\\Xml\\\\Reader\\:\\:pushContext\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Reader.php

-
message: "#^Property Sabre\\\\Xml\\\\Reader\\:\\:\\$classMap type has no value type specified in iterable type array\\.$#"
count: 1
Expand Down Expand Up @@ -155,16 +145,6 @@ parameters:
count: 1
path: lib/Service.php

-
message: "#^Method Sabre\\\\Xml\\\\Writer\\:\\:popContext\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Writer.php

-
message: "#^Method Sabre\\\\Xml\\\\Writer\\:\\:pushContext\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Writer.php

-
message: "#^Method Sabre\\\\Xml\\\\Writer\\:\\:write\\(\\) has no return type specified\\.$#"
count: 1
Expand Down

1 comment on commit 0082dea

@staabm
Copy link
Member

@staabm staabm commented on 0082dea Jul 26, 2022

Choose a reason for hiding this comment

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

accidental commit to master - sorry

Please sign in to comment.