Completed
Push — master ( 494dbe...9af1af )
by Raffael
02:58
created
src/Auth.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @return Auth
74 74
      */
75
-    public function setOptions(? Iterable $config = null): self
75
+    public function setOptions(? Iterable $config = null) : self
76 76
     {
77 77
         if (null === $config) {
78 78
             return $this;
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             switch ($option) {
83 83
                 case 'identity_class':
84 84
                 case 'attribute_map_class':
85
-                    $this->{$option} = (string) $value;
85
+                    $this->{$option} = (string)$value;
86 86
 
87 87
                 break;
88 88
                 case 'adapter':
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     /**
119 119
      * {@inheritdoc}
120 120
      */
121
-    public function injectAdapter($adapter, ?string $name = null): AdapterAwareInterface
121
+    public function injectAdapter($adapter, ?string $name = null) : AdapterAwareInterface
122 122
     {
123 123
         if (!($adapter instanceof AdapterInterface)) {
124 124
             throw new Exception('adapter needs to implement AdapterInterface');
Please login to merge, or discard this patch.
src/Ldap/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
Please login to merge, or discard this patch.
src/AttributeMap.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
@@ -79,21 +79,21 @@  discard block
 block discarded – undo
79 79
 
80 80
                 switch ($value['type']) {
81 81
                     case 'array':
82
-                        $arr = (array) $data[$value['attr']];
82
+                        $arr = (array)$data[$value['attr']];
83 83
                         unset($arr['count']);
84 84
                         $attrs[$attr] = $arr;
85 85
 
86 86
                     break;
87 87
                     case 'string':
88
-                         $attrs[$attr] = (string) $store;
88
+                         $attrs[$attr] = (string)$store;
89 89
 
90 90
                     break;
91 91
                     case 'int':
92
-                         $attrs[$attr] = (int) $store;
92
+                         $attrs[$attr] = (int)$store;
93 93
 
94 94
                     break;
95 95
                     case 'bool':
96
-                         $attrs[$attr] = (bool) $store;
96
+                         $attrs[$attr] = (bool)$store;
97 97
 
98 98
                     break;
99 99
                     default:
Please login to merge, or discard this patch.
src/Adapter/AbstractAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @return AdapterInterface
64 64
      */
65
-    public function setOptions(? Iterable $config = null): AdapterInterface
65
+    public function setOptions(? Iterable $config = null) : AdapterInterface
66 66
     {
67 67
         if (null === $config) {
68 68
             return $this;
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
                 break;
77 77
                 case 'attr_sync_cache':
78
-                    $this->attr_sync_cache = (int) $value;
78
+                    $this->attr_sync_cache = (int)$value;
79 79
 
80 80
                 break;
81 81
                 default:
Please login to merge, or discard this patch.
src/Adapter/AdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
Please login to merge, or discard this patch.
src/Adapter/Oidc.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      *
77 77
      * @return AdapterInterface
78 78
      */
79
-    public function setOptions(? Iterable $config = null): AdapterInterface
79
+    public function setOptions(? Iterable $config = null) : AdapterInterface
80 80
     {
81 81
         if (null === $config) {
82 82
             return $this;
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
                 case 'provider_url':
88 88
                 case 'token_validation_url':
89 89
                 case 'identity_attribute':
90
-                    $this->{$option} = (string) $value;
90
+                    $this->{$option} = (string)$value;
91 91
                     unset($config[$option]);
92 92
 
93 93
                 break;
Please login to merge, or discard this patch.
src/Adapter/None.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
Please login to merge, or discard this patch.
src/Adapter/Basic/Ldap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return AdapterInterface
55 55
      */
56
-    public function setOptions(? Iterable $config = null): AdapterInterface
56
+    public function setOptions(? Iterable $config = null) : AdapterInterface
57 57
     {
58 58
         if (null === $config) {
59 59
             return $this;
Please login to merge, or discard this patch.
src/Adapter/Basic/BasicInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
Please login to merge, or discard this patch.