File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
88Previous 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments