Code Duplication    Length = 3-3 lines in 2 locations

src/ConstraintCheck/Checker/RangeChecker.php 2 locations

@@ 216-218 (lines=3) @@
213
		$message = ( new ViolationMessage( $messageKey ) )
214
			->withEntityId( $predicate, Role::PREDICATE )
215
			->withDataValue( $value, Role::OBJECT );
216
		if ( $min !== null && !( $min instanceof NowValue ) ) {
217
			$message = $message->withDataValue( $min, Role::OBJECT );
218
		}
219
		if ( $max !== null && !( $max instanceof  NowValue ) ) {
220
			$message = $message->withDataValue( $max, Role::OBJECT );
221
		}
@@ 219-221 (lines=3) @@
216
		if ( $min !== null && !( $min instanceof NowValue ) ) {
217
			$message = $message->withDataValue( $min, Role::OBJECT );
218
		}
219
		if ( $max !== null && !( $max instanceof  NowValue ) ) {
220
			$message = $message->withDataValue( $max, Role::OBJECT );
221
		}
222
		return $message;
223
	}
224