Code Duplication    Length = 3-3 lines in 2 locations

src/ConstraintCheck/Checker/RangeChecker.php 2 locations

@@ 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