Skip to content

Commit

Permalink
Implement __set method in SimpleXMLElement
Browse files Browse the repository at this point in the history
  • Loading branch information
kathaler committed Jan 9, 2024
1 parent 06b71be commit b2e53f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stubs/extensions/simplexml.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ class SimpleXMLElement implements Traversable, Countable
public function count(): int {}

public function __get(string $name): SimpleXMLElement|SimpleXMLIterator|null {}

public function __set(string $name, $value): void {}
}

/**
Expand Down

0 comments on commit b2e53f6

Please sign in to comment.