Code Duplication    Length = 3-3 lines in 2 locations

includes/Message.php 1 location

@@ 482-484 (lines=3) @@
479
	 */
480
	public function params( /*...*/ ) {
481
		$args = func_get_args();
482
		if ( isset( $args[0] ) && is_array( $args[0] ) ) {
483
			$args = $args[0];
484
		}
485
		$args_values = array_values( $args );
486
		$this->parameters = array_merge( $this->parameters, $args_values );
487
		return $this;

includes/db/DatabaseMssql.php 1 location

@@ 580-582 (lines=3) @@
577
578
		$table = $this->tableName( $table );
579
580
		if ( !( isset( $arrToInsert[0] ) && is_array( $arrToInsert[0] ) ) ) { // Not multi row
581
			$arrToInsert = [ 0 => $arrToInsert ]; // make everything multi row compatible
582
		}
583
584
		// We know the table we're inserting into, get its identity column
585
		$identity = null;