@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * Check and return if received data has some error status. |
| 61 | 61 | * |
| 62 | 62 | * @param \StdClass $data |
| 63 | - * @return boolean |
|
| 63 | + * @return boolean|null |
|
| 64 | 64 | */ |
| 65 | 65 | public function wasAnError(StdClass $data) |
| 66 | 66 | { |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | */ |
| 183 | 183 | protected function findMotives($occurrenceCode) |
| 184 | 184 | { |
| 185 | - $motives = array_filter($motives, function ($key) use ($occurrenceCode) { |
|
| 185 | + $motives = array_filter($motives, function($key) use ($occurrenceCode) { |
|
| 186 | 186 | return in_array($occurrenceCode, explode(',', $key)); |
| 187 | 187 | }, ARRAY_FILTER_USE_KEY); |
| 188 | 188 | |