@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | self::getTable($object, $tableName, $columns, $type, $manager, $extraFields); |
| 135 | 135 | |
| 136 | 136 | $result = self::get(['table_name' => $tableName], true, ['id' => $id], ['*']); |
| 137 | - if($result !== null) { |
|
| 137 | + if ($result !== null) { |
|
| 138 | 138 | unset($result['id']); |
| 139 | 139 | } else { |
| 140 | 140 | $result = []; |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | $data = []; |
| 143 | 143 | |
| 144 | 144 | $flip = array_flip($columns); |
| 145 | - if(!empty($result)) { |
|
| 145 | + if (!empty($result)) { |
|
| 146 | 146 | foreach ($result as $key => $value) { |
| 147 | 147 | $content = self::value($object, $key, $type, false); |
| 148 | 148 | if ($content !== $value) { |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | |
| 83 | 83 | protected function createResourceOwner(array $response, AccessToken $token) |
| 84 | 84 | { |
| 85 | - $user = new CustomResourceOwner($response, 0); |
|
| 85 | + $user = new CustomResourceOwner($response, 0); |
|
| 86 | 86 | |
| 87 | 87 | return $user->setDomain($this->domain); |
| 88 | 88 | } |
@@ -187,12 +187,12 @@ |
||
| 187 | 187 | } |
| 188 | 188 | |
| 189 | 189 | if ($whiteList) { |
| 190 | - return array_filter($middlewareBag, function ($value) use ($whiteList) { |
|
| 190 | + return array_filter($middlewareBag, function($value) use ($whiteList) { |
|
| 191 | 191 | return \in_array($value['alias'], $whiteList, true); |
| 192 | 192 | }); |
| 193 | 193 | } |
| 194 | 194 | |
| 195 | - return array_filter($middlewareBag, function ($value) use ($blackList) { |
|
| 195 | + return array_filter($middlewareBag, function($value) use ($blackList) { |
|
| 196 | 196 | return !\in_array($value['alias'], $blackList, true); |
| 197 | 197 | }); |
| 198 | 198 | } |