@@ -14,10 +14,8 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\Application\UI; |
| 16 | 16 | |
| 17 | -use Nette; |
|
| 18 | 17 | use Nette\Application; |
| 19 | 18 | use Nette\Application\UI; |
| 20 | -use Tracy\Debugger; |
|
| 21 | 19 | |
| 22 | 20 | /** |
| 23 | 21 | * Entity call implementation into presenters and controls |
@@ -56,7 +56,8 @@ discard block |
||
| 56 | 56 | $reflection = $this->getReflection(); |
| 57 | 57 | |
| 58 | 58 | foreach ($reflection->getPersistentParams() as $name => $meta) { |
| 59 | - if (isset($params[$name])) { // NULLs are ignored |
|
| 59 | + if (isset($params[$name])) { |
|
| 60 | +// NULLs are ignored |
|
| 60 | 61 | $type = gettype($meta['def']); |
| 61 | 62 | |
| 62 | 63 | if (!$reflection->convertType($params[$name], $type)) { |
@@ -111,7 +112,8 @@ discard block |
||
| 111 | 112 | if (isset($params[$name])) { |
| 112 | 113 | // injected value |
| 113 | 114 | |
| 114 | - } else if (array_key_exists($name, $params)) { // NULLs are skipped |
|
| 115 | + } else if (array_key_exists($name, $params)) { |
|
| 116 | +// NULLs are skipped |
|
| 115 | 117 | continue; |
| 116 | 118 | |
| 117 | 119 | } elseif (!isset($meta['since']) || $this instanceof $meta['since']) { |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | namespace IPub\Application\UI; |
| 16 | 16 | |
| 17 | 17 | use Nette; |
| 18 | - |
|
| 19 | 18 | use IPub\Application; |
| 20 | 19 | |
| 21 | 20 | /** |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use Nette; |
| 18 | 18 | use Nette\Application; |
| 19 | -use Nette\Application\Responses; |
|
| 20 | 19 | |
| 21 | 20 | /** |
| 22 | 21 | * Add improved redirects & forwarding into presenters & components |
@@ -16,9 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | use Nette; |
| 18 | 18 | use Nette\Utils; |
| 19 | - |
|
| 20 | 19 | use Tracy\Debugger; |
| 21 | - |
|
| 22 | 20 | use IPub\Application; |
| 23 | 21 | |
| 24 | 22 | /** |