Code Duplication    Length = 9-9 lines in 2 locations

src/Query/QueryBuilder.php 2 locations

@@ 799-807 (lines=9) @@
796
	 * @param array $data
797
	 * @return \PDOStatement
798
	 */
799
	public function insert_batch($table, $data=[])
800
	{
801
		// Get the generated values and sql string
802
		list($sql, $data) = $this->db->insert_batch($table, $data);
803
804
		return ( ! is_null($sql))
805
			? $this->_run('', $table, $sql, $data)
806
			: NULL;
807
	}
808
809
	// --------------------------------------------------------------------------
810
@@ 839-847 (lines=9) @@
836
	 * @param string $where
837
	 * @return int|null
838
	 */
839
	public function update_batch($table, $data, $where)
840
	{
841
		// Get the generated values and sql string
842
		list($sql, $data) = $this->db->update_batch($table, $data, $where);
843
844
		return ( ! is_null($sql))
845
			? $this->_run('', $table, $sql, $data)
846
			: NULL;
847
	}
848
849
	// --------------------------------------------------------------------------
850