Skip to content

Commit

Permalink
Merge pull request #20 from sebastianbergmann/master
Browse files Browse the repository at this point in the history
Do not use implicitly nullable parameter types
  • Loading branch information
theseer authored Mar 3, 2024
2 parents 6bc8a4c + 7c69ad9 commit 28d34b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to Tokenizer are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## [1.2.3] - 2024-MM-DD

### Changed

* Do not use implicitly nullable parameters

## [1.2.2] - 2023-11-20

### Fixed
Expand Down Expand Up @@ -70,6 +76,10 @@ This release is now PHP 8.0 compliant.

Initial Release

[1.2.3]: https://github.com/theseer/tokenizer/compare/1.2.2...1.2.3
[1.2.2]: https://github.com/theseer/tokenizer/compare/1.2.1...1.2.2
[1.2.1]: https://github.com/theseer/tokenizer/compare/1.2.0...1.2.1
[1.2.0]: https://github.com/theseer/tokenizer/compare/1.1.3...1.2.0
[1.1.3]: https://github.com/theseer/tokenizer/compare/1.1.2...1.1.3
[1.1.2]: https://github.com/theseer/tokenizer/compare/1.1.1...1.1.2
[1.1.1]: https://github.com/theseer/tokenizer/compare/1.1.0...1.1.1
Expand Down
2 changes: 1 addition & 1 deletion src/XMLSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class XMLSerializer {
*
* @param NamespaceUri $xmlns
*/
public function __construct(NamespaceUri $xmlns = null) {
public function __construct(?NamespaceUri $xmlns = null) {
if ($xmlns === null) {
$xmlns = new NamespaceUri('https://github.com/theseer/tokenizer');
}
Expand Down

0 comments on commit 28d34b9

Please sign in to comment.