Completed
Push — master ( a6c217...a97f06 )
by Tomas
14s queued 11s
created
src/Link/ApiLinkMacro.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.