Skip to content

Commit 9f1ed9a

Browse files
committed
changed tabs with spaces, updated changelog
1 parent 2a1a947 commit 9f1ed9a

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
Previous releases are documented in [github releases](https://github.com/oscarotero/Gettext/releases)
99

10+
## [5.5.1] - 2020-06-08
11+
### Fixed
12+
- Type error in which numeric filenames were converted to integers [#260]
13+
1014
## [5.5.0] - 2020-05-23
1115
### Added
1216
- New option `addReferences()` to configure the code scanners whether add or not references [#258]
@@ -76,7 +80,9 @@ Previous releases are documented in [github releases](https://github.com/oscarot
7680
[#251]: https://github.com/php-gettext/Gettext/issues/251
7781
[#253]: https://github.com/php-gettext/Gettext/issues/253
7882
[#258]: https://github.com/php-gettext/Gettext/issues/258
83+
[#260]: https://github.com/php-gettext/Gettext/issues/260
7984

85+
[5.5.1]: https://github.com/php-gettext/Gettext/compare/v5.5.0...v5.5.1
8086
[5.5.0]: https://github.com/php-gettext/Gettext/compare/v5.4.1...v5.5.0
8187
[5.4.1]: https://github.com/php-gettext/Gettext/compare/v5.4.0...v5.4.1
8288
[5.4.0]: https://github.com/php-gettext/Gettext/compare/v5.3.0...v5.4.0

src/References.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ public function mergeWith(References $references): References
6969

7070
foreach ($references as $filename => $lines) {
7171
//Set filename always to string
72-
$filename = (string) $filename;
73-
74-
if (empty($lines)) {
72+
$filename = (string) $filename;
73+
74+
if (empty($lines)) {
7575
$merged->add($filename);
7676
continue;
7777
}

0 commit comments

Comments
 (0)