@@ -25,7 +25,6 @@ |
||
| 25 | 25 | |
| 26 | 26 | $urlLink->setPageNumber(3); |
| 27 | 27 | echo $urlLink->getPageLink(); // got page 3 |
| 28 | - |
|
| 29 | 28 | */ |
| 30 | 29 | class PageLink |
| 31 | 30 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function process(\ArrayAccess $credentials): void |
| 44 | 44 | { |
| 45 | - $stamp = $credentials->offsetExists('timestamp') ? $credentials->offsetGet('timestamp') : 0 ; |
|
| 45 | + $stamp = $credentials->offsetExists('timestamp') ? $credentials->offsetGet('timestamp') : 0; |
|
| 46 | 46 | if (!empty($stamp)) { |
| 47 | 47 | // now we have public key and salt from our storage, so it's time to check it |
| 48 | 48 | |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | $id = '123456789'; |
| 9 | 9 | $forward = new \kalanis\kw_address_handler\Forward(); |
| 10 | 10 | $forward->setLink($link->linkVariant('short/edit/?id=' . $id)); // you go there |
| 11 | -$forward->setForward($link->linkVariant('short/dashboard')); // and from there go here (usually back) |
|
| 11 | +$forward->setForward($link->linkVariant('short/dashboard')); // and from there go here (usually back) |
|
| 12 | 12 | echo sprintf('<a href="%s" class="button">%s</a>', |
| 13 | 13 | $forward->getLink(), |
| 14 | 14 | strval($id) |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | if (isset($target)) { |
| 142 | 142 | if (is_array($target)) { |
| 143 | 143 | $intKeys = array_filter(array_keys($target), 'is_int'); |
| 144 | - $index = count($intKeys) ? max($intKeys)+1 : 0; |
|
| 144 | + $index = count($intKeys) ? max($intKeys) + 1 : 0; |
|
| 145 | 145 | } else { |
| 146 | 146 | $target = [$target]; |
| 147 | 147 | $index = 1; |