Test Failed
Pull Request — master (#78)
by Gabriel
06:05
created
src/Browser.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -226,13 +226,11 @@
 block discarded – undo
226 226
             if ($scriptedAgent->getName()==ScriptedAgent::UNKNOWN)
227 227
             {
228 228
                 return false;
229
-            }
230
-            else
229
+            } else
231 230
             {
232 231
                 return $scriptedAgent;
233 232
             }
234
-        }
235
-        else
233
+        } else
236 234
         {
237 235
             return false;
238 236
         }
Please login to merge, or discard this patch.
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.