@@ -12,5 +12,5 @@ |
||
| 12 | 12 | public function getByUser(string $userId); |
| 13 | 13 | public function add(Context $context, string $userId); |
| 14 | 14 | public function update(Context $context, string $userId); |
| 15 | - public function getByUserDto(string $userId):?ContextDto; |
|
| 15 | + public function getByUserDto(string $userId): ?ContextDto; |
|
| 16 | 16 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $roles = app(GetUserRole::class)->get()->toArray(); |
| 29 | 29 | $practises = app(GetUserPractises::class)->get(Auth::user()->uuid); |
| 30 | 30 | $interactions = app(InteractionsQueryByUser::class)->get(Auth::user()->uuid); |
| 31 | - $usersCharacteristics = array_merge($context['productions'], $context['characteristics']); |
|
| 31 | + $usersCharacteristics = array_merge($context['productions'], $context['characteristics']); |
|
| 32 | 32 | $uuidsUserCharacteristics = array_column($usersCharacteristics, 'uuid'); |
| 33 | 33 | $role = last($user['roles']); |
| 34 | 34 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | $this->handlePages($pages); |
| 36 | 36 | $continue = $content['continue']['gapcontinue'] ?? null; |
| 37 | 37 | |
| 38 | - while($continue !== null && $continue !== ''){ |
|
| 38 | + while ($continue !== null && $continue !== '') { |
|
| 39 | 39 | $this->info($continue); |
| 40 | 40 | |
| 41 | 41 | $pagesApiUri = config('wiki.api_uri').$queryPages.'&gapcontinue='.$continue; |