Code Duplication    Length = 3-3 lines in 2 locations

Services/AzineMergedBusinessNetworksProvider.php 2 locations

@@ 302-304 (lines=3) @@
299
        // My own priority: Homepage, blog, other, something else.
300
        if (property_exists($xingProfile, 'web_profiles')) {
301
            $newContact->webSiteURL = (property_exists($xingProfile->web_profiles, 'homepage')) ? $xingProfile->web_profiles->homepage[0] : null;
302
            if (null === $newContact->webSiteURL) {
303
                $newContact->webSiteURL = (property_exists($xingProfile->web_profiles, 'blog')) ? $xingProfile->web_profiles->blog[0] : null;
304
            }
305
            if (null === $newContact->webSiteURL) {
306
                $newContact->webSiteURL = (property_exists($xingProfile->web_profiles, 'other')) ? $xingProfile->web_profiles->other[0] : null;
307
            }
@@ 305-307 (lines=3) @@
302
            if (null === $newContact->webSiteURL) {
303
                $newContact->webSiteURL = (property_exists($xingProfile->web_profiles, 'blog')) ? $xingProfile->web_profiles->blog[0] : null;
304
            }
305
            if (null === $newContact->webSiteURL) {
306
                $newContact->webSiteURL = (property_exists($xingProfile->web_profiles, 'other')) ? $xingProfile->web_profiles->other[0] : null;
307
            }
308
            // Just use *anything*!
309
            if (null === $newContact->webSiteURL) {
310
                foreach ($xingProfile->web_profiles as $aUrl) {