From 7d625d7a0315ee843e80ddd050fc1b88e7646a5d Mon Sep 17 00:00:00 2001 From: Gabeta Soro Date: Tue, 2 Feb 2021 12:24:22 +0000 Subject: [PATCH] test --- .travis.yml | 10 +++++----- src/Console/LaraPnnCommand.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0680a5e..ab52392 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,11 @@ dist: trusty # Versions of PHP you want your project run with. php: - #- 5.5 - #- 5.6 - #- 7.1 - #- 7.3 - #- 7.4 + - 5.5 + - 5.6 + - 7.1 + - 7.3 + - 7.4 - 8.0 diff --git a/src/Console/LaraPnnCommand.php b/src/Console/LaraPnnCommand.php index c786df3..0d90c6e 100644 --- a/src/Console/LaraPnnCommand.php +++ b/src/Console/LaraPnnCommand.php @@ -42,7 +42,7 @@ public function handle() } $eligibleModelsLength = count($eligibleModels); - + $eligibleModelsColumnsLength = count($eligibleModelsColumns) ? count(call_user_func_array('array_merge', $eligibleModelsColumns)) : 0; $this->line("\n {$this->description} | Stats for {$this->model->getTable()} table: \n");