@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | * Search for records |
| 85 | 85 | * |
| 86 | 86 | * @param array $parameters Query parameters |
| 87 | - * @param int $pAPINumber API number (e.g. 3) |
|
| 87 | + * @param int $pAPINumber API number (e.g. 3) |
|
| 88 | 88 | * @return QueryEntity object |
| 89 | 89 | * @throws RuntimeException |
| 90 | 90 | * @throws UnauthorizedException |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | public function search(array $parameters = [], int $pAPINumber = 1): QueryEntity |
| 95 | 95 | { |
| 96 | - $response = $this->query('POST', 'v'.$pAPINumber.'/search/', [], array_merge( |
|
| 96 | + $response = $this->query('POST', 'v'.$pAPINumber.'/search/', [], array_merge( |
|
| 97 | 97 | ['search_type' => 0], |
| 98 | 98 | $parameters |
| 99 | 99 | )); |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * Search for stories |
| 79 | 79 | * |
| 80 | 80 | * @param array $parameters Query parameters |
| 81 | - * @param int $pAPINumber API number (e.g. 3) |
|
| 81 | + * @param int $pAPINumber API number (e.g. 3) |
|
| 82 | 82 | * @return QueryEntity object |
| 83 | 83 | * @throws RuntimeException |
| 84 | 84 | * @throws UnauthorizedException |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | { |
| 90 | 90 | $response = $this->query('POST', 'v'.$pAPINumber.'/search/', array(), array_merge( |
| 91 | 91 | $parameters, |
| 92 | - array('search_type' => SearchResult::TYPE_STORY) |
|
| 92 | + array('search_type' => SearchResult::TYPE_STORY) |
|
| 93 | 93 | )); |
| 94 | 94 | |
| 95 | 95 | if ($response->isEmpty()) { |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | * @param $pValue mixed |
| 199 | 199 | */ |
| 200 | 200 | public function setSourceEntry(string $pKey, $pValue) |
| 201 | - { |
|
| 202 | - $this->source->$pKey = $pValue; |
|
| 203 | - } |
|
| 201 | + { |
|
| 202 | + $this->source->$pKey = $pValue; |
|
| 203 | + } |
|
| 204 | 204 | } |
@@ -239,7 +239,7 @@ |
||
| 239 | 239 | */ |
| 240 | 240 | public function getValidationInitiatorUser(): ?User |
| 241 | 241 | { |
| 242 | - return $this->validationInitiatorUser ?: ($this->validationInitiatorUser = User::fromValue($this->source->validation_initiator_user)); |
|
| 242 | + return $this->validationInitiatorUser ?: ($this->validationInitiatorUser = User::fromValue($this->source->validation_initiator_user)); |
|
| 243 | 243 | } |
| 244 | 244 | |
| 245 | 245 | /** |