Test Failed
Pull Request — master (#78)
by Gabriel
02:37
created
src/ScriptedAgentDetector.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -429,9 +429,11 @@
 block discarded – undo
429 429
     public static function checkRobotWebdav()
430 430
     {
431 431
         if (stripos(self::$userAgentString, "WEBDAV Client") !== false ||
432
-            stripos(self::$userAgentString, "Microsoft Office Existence Discovery") !== false) //Office Webdav probe
432
+            stripos(self::$userAgentString, "Microsoft Office Existence Discovery") !== false) {
433
+            //Office Webdav probe
433 434
         {
434 435
             self::$scriptedAgent->setName(ScriptedAgent::WEBDAV);
436
+        }
435 437
             self::$scriptedAgent->setType(ScriptedAgent::TOOL);
436 438
             self::$scriptedAgent->setInfoURL("https://en.wikipedia.org/wiki/WebDAV");
437 439
             return true;
Please login to merge, or discard this patch.