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");