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