Completed
Push — master ( d37444...22d3f1 )
by Adam
02:01
created
src/IPub/Forms/Forms/TEntityContainer.php 3 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 	}
88 88
 
89 89
 	/**
90
-	 * @param ComponentModel\Component $formElement
90
+	 * @param TEntityContainer $formElement
91 91
 	 * @param object $entity
92 92
 	 * @param bool $erase
93 93
 	 *
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -17,11 +17,9 @@
 block discarded – undo
17 17
 namespace IPub\Forms\Forms;
18 18
 
19 19
 use Doctrine\ORM;
20
-
21 20
 use Nette\Application;
22 21
 use Nette\ComponentModel;
23 22
 use Nette\Forms;
24
-
25 23
 use IPub\Forms\Exceptions;
26 24
 
27 25
 /**
Please login to merge, or discard this patch.