@@ 171-173 (lines=3) @@ | ||
168 | $message = ( new ViolationMessage( $messageKey ) ) |
|
169 | ->withEntityId( $predicate, Role::PREDICATE ) |
|
170 | ->withDataValue( $value, Role::OBJECT ); |
|
171 | if ( $min !== null && !( $min instanceof NowValue ) ) { |
|
172 | $message = $message->withDataValue( $min, Role::OBJECT ); |
|
173 | } |
|
174 | if ( $max !== null && !( $max instanceof NowValue ) ) { |
|
175 | $message = $message->withDataValue( $max, Role::OBJECT ); |
|
176 | } |
|
@@ 174-176 (lines=3) @@ | ||
171 | if ( $min !== null && !( $min instanceof NowValue ) ) { |
|
172 | $message = $message->withDataValue( $min, Role::OBJECT ); |
|
173 | } |
|
174 | if ( $max !== null && !( $max instanceof NowValue ) ) { |
|
175 | $message = $message->withDataValue( $max, Role::OBJECT ); |
|
176 | } |
|
177 | return $message; |
|
178 | } |
|
179 |