File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 5
5
# ## Composer ###
6
6
composer.phar
7
7
/vendor /
8
+ /composer.lock
9
+ /.phpunit.result.cache
10
+
8
11
9
12
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
10
13
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
@@ -72,4 +75,3 @@ local.properties
72
75
73
76
74
77
# End of https://www.gitignore.io/api/windows,eclipse,composer
75
- /composer.lock
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ private function getRatioFast(): float
106
106
$ aLength = count ($ this ->old );
107
107
for ($ iterator = 0 ; $ iterator < $ aLength ; ++$ iterator ) {
108
108
$ char = $ this ->old [$ iterator ];
109
- $ numb = isset ( $ avail [$ char ]) ? $ avail [ $ char ] : $ this ->uniqueCount2 [$ char ] ?? 0 ;
109
+ $ numb = $ avail [$ char ] ?? ( $ this ->uniqueCount2 [$ char ] ?? 0 ) ;
110
110
$ avail [$ char ] = $ numb - 1 ;
111
111
if ($ numb > 0 ) {
112
112
++$ matches ;
You can’t perform that action at this time.
0 commit comments