File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -346,21 +346,20 @@ protected function extractCompany(array $datum): ?Company
346346 $ company = $ this ->getCompanyByAlias ($ matchCompany );
347347 if ($ company ) {
348348 return $ company ;
349- } else {
350- $ this ->output ->writeln (
351- 'Sponsor Company Not Found : '
352- . $ datum ['repository ' ]['name ' ]
353- . '# ' . $ datum ['number ' ]
354- . ' => ' . $ datum ['author ' ]['login ' ]
355- . '/ ' . $ matchCompany
356- );
357- if (!isset ($ this ->unknownSponsorCompanies [$ matchCompany ])) {
358- $ this ->unknownSponsorCompanies [$ matchCompany ] = 0 ;
359- }
360- ++$ this ->unknownSponsorCompanies [$ matchCompany ];
361-
362- return null ;
363349 }
350+ $ this ->output ->writeln (
351+ 'Sponsor Company Not Found : '
352+ . $ datum ['repository ' ]['name ' ]
353+ . '# ' . $ datum ['number ' ]
354+ . ' => ' . $ datum ['author ' ]['login ' ]
355+ . '/ ' . $ matchCompany
356+ );
357+ if (!isset ($ this ->unknownSponsorCompanies [$ matchCompany ])) {
358+ $ this ->unknownSponsorCompanies [$ matchCompany ] = 0 ;
359+ }
360+ ++$ this ->unknownSponsorCompanies [$ matchCompany ];
361+
362+ return null ;
364363 }
365364
366365 // Extract company from "Author"
You can’t perform that action at this time.
0 commit comments