From 17fa5f9db57b0ad9e13d65268cb33734f269e7b9 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 21 May 2025 05:41:11 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- php/src/db/CapacitorChannel.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/php/src/db/CapacitorChannel.php b/php/src/db/CapacitorChannel.php index df96e2a..6ed4051 100644 --- a/php/src/db/CapacitorChannel.php +++ b/php/src/db/CapacitorChannel.php @@ -13,7 +13,9 @@ class CapacitorChannel implements ITransactor { const TABLE_NAME = null; - const COLUMN_DEFINITIONS = null; + protected function COLUMN_DEFINITIONS(): ?array { + return static::COLUMN_DEFINITIONS; + } const COLUMN_DEFINITIONS = null; const PRIMARY_KEYS = null; @@ -63,7 +65,7 @@ class CapacitorChannel implements ITransactor { $this->useCache = static::USE_CACHE; $this->setup = false; $this->created = false; - $columnDefinitions = cl::withn(static::COLUMN_DEFINITIONS); + $columnDefinitions = $this->COLUMN_DEFINITIONS(); $primaryKeys = cl::withn(static::PRIMARY_KEYS); $migration = cl::withn(static::MIGRATION); $lastMkey = 1;