Passed
Push — master ( 03ea2f...d61ccd )
by Alexandre
03:09
created
src/Extensions/OpenID/Models/AddressClaim.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -142,22 +142,22 @@
 block discarded – undo
142 142
 public function jsonSerialize()
143 143
     {
144 144
         $data = [];
145
-        if($this->formatted) {
145
+        if ($this->formatted) {
146 146
             $data['formatted'] = $this->formatted;
147 147
         }
148
-        if($this->streetAddress) {
148
+        if ($this->streetAddress) {
149 149
             $data['street_address'] = $this->streetAddress;
150 150
         }
151
-        if($this->locality) {
151
+        if ($this->locality) {
152 152
             $data['locality'] = $this->locality;
153 153
         }
154
-        if($this->region) {
154
+        if ($this->region) {
155 155
             $data['region'] = $this->region;
156 156
         }
157
-        if($this->postalCode) {
157
+        if ($this->postalCode) {
158 158
             $data['postal_code'] = $this->postalCode;
159 159
         }
160
-        if($this->country) {
160
+        if ($this->country) {
161 161
             $data['country'] = $this->country;
162 162
         }
163 163
         return empty($data) ? '' : json_encode($data);
Please login to merge, or discard this patch.
src/Extensions/OpenID/AuthorizationGrantTypes/Flows/ImplicitFlow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
         if (!in_array($macAlgorithm, [256, 384, 512])) {
127 127
             throw new \UnexpectedValueException("Algotihmn '".$macAlgorithm."' not supported");
128 128
         }
129
-        $macAlgorithm = 'sha' . $macAlgorithm;
129
+        $macAlgorithm = 'sha'.$macAlgorithm;
130 130
 
131 131
 
132 132
         $atHash = hash($macAlgorithm, $accessToken['access_token'], true);
Please login to merge, or discard this patch.