@@ -17,7 +17,6 @@ |
||
| 17 | 17 | namespace IPub\MobileDetect\Helpers; |
| 18 | 18 | |
| 19 | 19 | use Nette; |
| 20 | - |
|
| 21 | 20 | use IPub; |
| 22 | 21 | use IPub\MobileDetect\Exceptions; |
| 23 | 22 | |
@@ -19,8 +19,6 @@ |
||
| 19 | 19 | use Nette; |
| 20 | 20 | use Nette\Bridges; |
| 21 | 21 | use Nette\DI; |
| 22 | -use Nette\PhpGenerator as Code; |
|
| 23 | - |
|
| 24 | 22 | use IPub; |
| 25 | 23 | use IPub\MobileDetect; |
| 26 | 24 | use IPub\MobileDetect\Events; |
@@ -67,8 +67,7 @@ |
||
| 67 | 67 | $properties = ['view', 'platform', 'platformVersion', 'device', 'browser', 'browserVersion']; |
| 68 | 68 | |
| 69 | 69 | $panel[] = '<table style="width:100%">'; |
| 70 | - foreach ($properties as $property) |
|
| 71 | - { |
|
| 70 | + foreach ($properties as $property) { |
|
| 72 | 71 | $panel[] = '<tr><th>' . ucfirst($property) . '</th><td>' . $h($this->mobileDetect->{$property}() ?: '') . '</td></tr>'; |
| 73 | 72 | } |
| 74 | 73 | $panel[] = '</table>'; |