@@ -17,11 +17,9 @@ |
||
| 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 | /** |
@@ -190,7 +190,7 @@ |
||
| 190 | 190 | } |
| 191 | 191 | |
| 192 | 192 | /** |
| 193 | - * @param Forms\IControl|Forms\Container $formElement |
|
| 193 | + * @param ComponentModel\Component $formElement |
|
| 194 | 194 | * |
| 195 | 195 | * @return array|\ArrayIterator |
| 196 | 196 | * |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * @date 10.01.16 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms\Forms; |
| 18 | 18 | |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | } else { |
| 116 | - $methodName = 'get' . ucfirst($name); |
|
| 116 | + $methodName = 'get'.ucfirst($name); |
|
| 117 | 117 | |
| 118 | 118 | if (method_exists($entity, $methodName) && $value = call_user_func([$entity, $methodName])) { |
| 119 | 119 | if (is_object($value) && $this->isEntity($value)) { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | } else { |
| 146 | - $methodName = 'get' . ucfirst($name); |
|
| 146 | + $methodName = 'get'.ucfirst($name); |
|
| 147 | 147 | |
| 148 | 148 | if (method_exists($entity, $methodName) && $value = call_user_func([$entity, $methodName])) { |
| 149 | 149 | if (is_object($value) && $this->isEntity($value)) { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 26.05.13 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms\Forms; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 10.01.16 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms\Forms; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 26.05.13 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms\Forms; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 31.01.14 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms\DI; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 31.01.14 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 10.06.14 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 03.02.15 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms\Exceptions; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 03.02.15 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\Forms\Exceptions; |
| 18 | 18 | |