|
@@ 138-140 (lines=3) @@
|
| 135 |
|
$bot = $result->getBot(); |
| 136 |
|
$bot->setIsBot(true); |
| 137 |
|
|
| 138 |
|
if (isset($resultRaw->browser) && $this->isRealResult($resultRaw->browser) === true) { |
| 139 |
|
$bot->setName($resultRaw->browser); |
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
// @todo convert to a common set of types (over all vendors) |
| 143 |
|
if (isset($resultRaw->issyndicationreader) && $resultRaw->issyndicationreader === true) { |
|
@@ 159-161 (lines=3) @@
|
| 156 |
|
*/ |
| 157 |
|
$browser = $result->getBrowser(); |
| 158 |
|
|
| 159 |
|
if (isset($resultRaw->browser) && $this->isRealResult($resultRaw->browser) === true) { |
| 160 |
|
$browser->setName($resultRaw->browser); |
| 161 |
|
} |
| 162 |
|
|
| 163 |
|
if (isset($resultRaw->version) && $this->isRealResult($resultRaw->version) === true) { |
| 164 |
|
$browser->getVersion()->setComplete($resultRaw->version); |