From e13abfb64bb7074095026e8633215b2b9701dc8b Mon Sep 17 00:00:00 2001 From: b09v <92630222+b09v@users.noreply.github.com> Date: Mon, 2 Oct 2023 10:07:47 +0200 Subject: [PATCH] Update VirtualColumn.php overridden function that checks whether a column is guardable --- src/VirtualColumn.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/VirtualColumn.php b/src/VirtualColumn.php index 1eb16b2..8145838 100644 --- a/src/VirtualColumn.php +++ b/src/VirtualColumn.php @@ -155,4 +155,15 @@ trait VirtualColumn return static::getDataColumn() . '->' . $column; } + + /** + * Determine if the given column is a valid, guardable column. + * + * @param string $key + * @return bool + */ + protected function isGuardableColumn($key) + { + return true; + } }