@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | if (count($args) < 3) { |
| 29 | 29 | $message = "Invalid link destination, too few arguments."; |
| 30 | - if (!Debugger::$productionMode) { |
|
| 30 | + if ( ! Debugger::$productionMode) { |
|
| 31 | 31 | throw new InvalidLinkException($message); |
| 32 | 32 | } |
| 33 | 33 | Debugger::log($message, Debugger::EXCEPTION); |
@@ -44,8 +44,8 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | return $writer->write('echo ($presenter->context->getByType("' . ApiLink::class . '"))' . |
| 46 | 46 | '->link((new Tomaj\NetteApi\EndpointIdentifier(' . |
| 47 | - $arguments['method'] . ', ' . |
|
| 48 | - $arguments['version'] . ', ' . |
|
| 47 | + $arguments['method'] . ', ' . |
|
| 48 | + $arguments['version'] . ', ' . |
|
| 49 | 49 | $arguments['package'] . ', ' . |
| 50 | 50 | $arguments['action'] . ')), ' . $arguments['params'] . ')'); |
| 51 | 51 | } |