Completed
Pull Request — master (#11)
by Václav
07:19
created
src/IPub/MobileDetect/Helpers/CookieSettings.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/IPub/MobileDetect/DI/MobileDetectExtension.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/IPub/MobileDetect/Diagnostics/Panel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
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>';
Please login to merge, or discard this patch.