@@ -16,6 +16,9 @@ |
||
16 | 16 | */ |
17 | 17 | class ViolationMessageSerializer implements Serializer { |
18 | 18 | |
19 | + /** |
|
20 | + * @param string $fullMessageKey |
|
21 | + */ |
|
19 | 22 | private function abbreviateViolationMessageKey( $fullMessageKey ) { |
20 | 23 | return substr( $fullMessageKey, strlen( ViolationMessage::MESSAGE_KEY_PREFIX ) ); |
21 | 24 | } |
@@ -65,6 +65,7 @@ discard block |
||
65 | 65 | * and return it along with the associated log level. |
66 | 66 | * |
67 | 67 | * @param float $durationSeconds |
68 | + * @param double[] $limits |
|
68 | 69 | * @return array [ $limitSeconds, $logLevel ] |
69 | 70 | */ |
70 | 71 | private function findLimit( $limits, $durationSeconds ) { |
@@ -174,6 +175,7 @@ discard block |
||
174 | 175 | * @param EntityId $entityId |
175 | 176 | * @param CheckResult[] $checkResults |
176 | 177 | * @param float $durationSeconds |
178 | + * @param string $method |
|
177 | 179 | */ |
178 | 180 | public function logConstraintCheckOnEntity( |
179 | 181 | EntityId $entityId, |
@@ -64,6 +64,7 @@ |
||
64 | 64 | * |
65 | 65 | * @param ?array $result |
66 | 66 | * @param array[] &$container |
67 | + * @return void |
|
67 | 68 | */ |
68 | 69 | public function storeCheckResultInArray( ?array $result, array &$container ); |
69 | 70 |