@@ 208-210 (lines=3) @@ | ||
205 | $message = ( new ViolationMessage( $messageKey ) ) |
|
206 | ->withEntityId( $predicate, Role::PREDICATE ) |
|
207 | ->withDataValue( $value, Role::OBJECT ); |
|
208 | if ( $min !== null && !( $min instanceof NowValue ) ) { |
|
209 | $message = $message->withDataValue( $min, Role::OBJECT ); |
|
210 | } |
|
211 | if ( $max !== null && !( $max instanceof NowValue ) ) { |
|
212 | $message = $message->withDataValue( $max, Role::OBJECT ); |
|
213 | } |
|
@@ 211-213 (lines=3) @@ | ||
208 | if ( $min !== null && !( $min instanceof NowValue ) ) { |
|
209 | $message = $message->withDataValue( $min, Role::OBJECT ); |
|
210 | } |
|
211 | if ( $max !== null && !( $max instanceof NowValue ) ) { |
|
212 | $message = $message->withDataValue( $max, Role::OBJECT ); |
|
213 | } |
|
214 | return $message; |
|
215 | } |
|
216 |