Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 242c2d7

Browse files
committed
Fix code style
1 parent a88c162 commit 242c2d7

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/BrowserDetector/Tests/_includes/UserAgentStringMapper.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ public static function map()
1616

1717
foreach ($xml->strings->string as $string) {
1818
$userAgentString = new UserAgentString();
19-
foreach($string->children() as $child)
20-
{
19+
foreach ($string->children() as $child) {
2120
$attributes = $child->attributes();
22-
switch($attributes['name'])
23-
{
21+
switch ($attributes['name']) {
2422
case "browser":
2523
$userAgentString->setBrowser((string)$child[0]);
2624
break;

0 commit comments

Comments
 (0)