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 @@ -159,7 +159,7 @@ private function getRatioFast(): float
159
159
$ aLength = count ($ this ->old );
160
160
for ($ iterator = 0 ; $ iterator < $ aLength ; ++$ iterator ) {
161
161
$ char = $ this ->old [$ iterator ];
162
- $ numb = isset ( $ avail [$ char ]) ? $ avail [ $ char ] : $ this ->uniqueCount2 [$ char ] ?? 0 ;
162
+ $ numb = $ avail [$ char ] ?? ( $ this ->uniqueCount2 [$ char ] ?? 0 ) ;
163
163
$ avail [$ char ] = $ numb - 1 ;
164
164
if ($ numb > 0 ) {
165
165
++$ matches ;
You can’t perform that action at this time.
0 commit comments