@@ -62,8 +62,7 @@ discard block |
||
62 | 62 | * Class UserAgent |
63 | 63 | * @package Platine\UserAgent |
64 | 64 | */ |
65 | -class UserAgent |
|
66 | -{ |
|
65 | +class UserAgent { |
|
67 | 66 | /** |
68 | 67 | * Operating System detector |
69 | 68 | * @var OsDetector |
@@ -134,8 +133,7 @@ discard block |
||
134 | 133 | * Create new instance |
135 | 134 | * @param string|null $userAgent |
136 | 135 | */ |
137 | - public function __construct(?string $userAgent = null) |
|
138 | - { |
|
136 | + public function __construct(?string $userAgent = null) { |
|
139 | 137 | $this->browserDetector = new BrowserDetector(); |
140 | 138 | $this->cpuDetector = new CpuDetector(); |
141 | 139 | $this->engineDetector = new EngineDetector(); |
@@ -51,8 +51,7 @@ |
||
51 | 51 | * Class Helper |
52 | 52 | * @package Platine\UserAgent\Util |
53 | 53 | */ |
54 | -class Helper |
|
55 | -{ |
|
54 | +class Helper { |
|
56 | 55 | /** |
57 | 56 | * Return the major version number from the full version |
58 | 57 | * @param string $fullVersion |
@@ -51,8 +51,7 @@ |
||
51 | 51 | * Class Cpu |
52 | 52 | * @package Platine\UserAgent\Entity |
53 | 53 | */ |
54 | -class Cpu extends AbstractEntity |
|
55 | -{ |
|
54 | +class Cpu extends AbstractEntity { |
|
56 | 55 | /** |
57 | 56 | * The CPU architecture |
58 | 57 | * @var string |
@@ -51,8 +51,7 @@ |
||
51 | 51 | * Class Device |
52 | 52 | * @package Platine\UserAgent\Entity |
53 | 53 | */ |
54 | -class Device extends AbstractEntity |
|
55 | -{ |
|
54 | +class Device extends AbstractEntity { |
|
56 | 55 | /** |
57 | 56 | * The device model |
58 | 57 | * @var string |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * Class AbstractEntity |
54 | 54 | * @package Platine\UserAgent\Entity |
55 | 55 | */ |
56 | -abstract class AbstractEntity |
|
57 | -{ |
|
56 | +abstract class AbstractEntity { |
|
58 | 57 | /** |
59 | 58 | * Set the information for this entity |
60 | 59 | * @param array<string, string|int> $data |