Completed
Push — master ( e088fc...e52644 )
by Adam
02:49
created
src/IPub/Widgets/Components/Control.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,14 +21,12 @@
 block discarded – undo
21 21
 use Nette\ComponentModel;
22 22
 use Nette\Localization;
23 23
 use Nette\Utils;
24
-
25 24
 use IPub;
26 25
 use IPub\Widgets\Decorators;
27 26
 use IPub\Widgets\Entities;
28 27
 use IPub\Widgets\Exceptions;
29 28
 use IPub\Widgets\Managers;
30 29
 use IPub\Widgets\Widgets;
31
-use Tracy\Debugger;
32 30
 
33 31
 /**
34 32
  * Widgets container control definition
Please login to merge, or discard this patch.
src/IPub/Widgets/Widgets/Widget.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -21,13 +21,10 @@
 block discarded – undo
21 21
 use Nette\ComponentModel;
22 22
 use Nette\Localization;
23 23
 use Nette\Utils;
24
-
25 24
 use IPub;
26 25
 use IPub\Widgets;
27
-use IPub\Widgets\Decorators;
28 26
 use IPub\Widgets\Entities;
29 27
 use IPub\Widgets\Exceptions;
30
-use Tracy\Debugger;
31 28
 
32 29
 /**
33 30
  * Widgets control definition
Please login to merge, or discard this patch.
src/IPub/Widgets/Latte/Macros.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 		}
89 89
 		return "/* line $node->startLine */ "
90 90
 		. ($name[0] === '$' ? "if (is_object($name)) \$_tmp = $name; else " : '')
91
-		. '$_tmp = $this->global->uiControl->getComponent('. $prefix . $name . '); '
91
+		. '$_tmp = $this->global->uiControl->getComponent('.$prefix.$name.'); '
92 92
 		. 'if ($_tmp instanceof Nette\Application\UI\IRenderable) $_tmp->redrawControl(NULL, FALSE); '
93 93
 		. ($node->modifiers === ''
94 94
 			? "\$_tmp->$method($param);"
Please login to merge, or discard this patch.