Passed
Push — master ( 117441...0136ed )
by Petr
02:11
created
examples/PageLink.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 
26 26
 $urlLink->setPageNumber(3);
27 27
 echo $urlLink->getPageLink(); // got page 3
28
-
29 28
  */
30 29
 class PageLink
31 30
 {
Please login to merge, or discard this patch.
examples/Certs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
examples/Headers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
php-src/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.