Completed
Push — master ( c6c64f...6e954b )
by Adam
03:00
created
src/IPub/Forms/Forms/TEntityContainer.php 3 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -17,10 +17,8 @@
 block discarded – undo
17 17
 namespace IPub\Forms\Forms;
18 18
 
19 19
 use Doctrine\ORM;
20
-
21 20
 use Nette;
22 21
 use Nette\Forms;
23
-
24 22
 use IPub;
25 23
 use IPub\Forms\Exceptions;
26 24
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
 	}
183 183
 
184 184
 	/**
185
-	 * @param Forms\IControl|Forms\Container $formElement
185
+	 * @param Nette\ComponentModel\Component $formElement
186 186
 	 *
187 187
 	 * @return array|\ArrayIterator
188 188
 	 *
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 					}
106 106
 
107 107
 				} else {
108
-					$methodName = 'get' . ucfirst($name);
108
+					$methodName = 'get'.ucfirst($name);
109 109
 
110 110
 					if (method_exists($entity, $methodName) && $value = call_user_func([$entity, $methodName])) {
111 111
 						if (is_object($value) && $this->isEntity($value)) {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 					}
136 136
 
137 137
 				} else {
138
-					$methodName = 'get' . ucfirst($name);
138
+					$methodName = 'get'.ucfirst($name);
139 139
 
140 140
 					if (method_exists($entity, $methodName) && $value = call_user_func([$entity, $methodName])) {
141 141
 						if (is_object($value) && $this->isEntity($value)) {
Please login to merge, or discard this patch.
src/IPub/Forms/Forms/TForm.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,6 @@
 block discarded – undo
15 15
 namespace IPub\Forms\Forms;
16 16
 
17 17
 use Nette;
18
-use Nette\Utils;
19
-
20 18
 use IPub\Forms;
21 19
 
22 20
 /**
Please login to merge, or discard this patch.