From 12c171577dc47027a937a2bc3cc8744e40c0e258 Mon Sep 17 00:00:00 2001 From: Alessandro Ferro <49845537+xfarrow@users.noreply.github.com> Date: Wed, 27 Jul 2022 09:40:24 +0200 Subject: [PATCH] Update Table.php --- phpxpress/Table.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/phpxpress/Table.php b/phpxpress/Table.php index e33d813..4ba86da 100644 --- a/phpxpress/Table.php +++ b/phpxpress/Table.php @@ -1,7 +1,7 @@ dataSource = []; + return; + } if(isset($this-> dataSource)) throw new BadFunctionCallException("Cannot add datasource to a Table already having a datasource");