From e7c0556f62df3fad9721ae0d5a2920043743fed8 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Fri, 20 Dec 2024 11:56:18 +0100 Subject: [PATCH] feat: change class properties from private to protected --- src/MySQL.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/MySQL.php b/src/MySQL.php index 7dd77a0..3367d21 100644 --- a/src/MySQL.php +++ b/src/MySQL.php @@ -14,15 +14,13 @@ // Interface for MySQL_Driver with abstractions for data manipulation class MySQL extends mysqli { - private string $table; - - private ?string $limit = null; - private ?string $order_by = null; - private array $filter_values = []; - private ?string $filter_sql = null; - - // Array of last SELECT-ed columns public ?array $columns = null; + + protected string $table; + protected ?string $limit = null; + protected ?string $order_by = null; + protected array $filter_values = []; + protected ?string $filter_sql = null; // Pass constructor arguments to driver function __construct() {