summaryrefslogtreecommitdiffstats
path: root/tests/stubs/wpdb_stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stubs/wpdb_stub.php')
-rw-r--r--tests/stubs/wpdb_stub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stubs/wpdb_stub.php b/tests/stubs/wpdb_stub.php
index 74a1647..957c994 100644
--- a/tests/stubs/wpdb_stub.php
+++ b/tests/stubs/wpdb_stub.php
@@ -1,9 +1,9 @@
+<?php
// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
-<?php
class wpdb {
public $insert_id = NULL;
public function insert(string $table, array $data) { $this->insert_id = 1; }