diff --git a/app/Export/CSV/BaseExport.php b/app/Export/CSV/BaseExport.php index 9b606b07c8..9d704574d9 100644 --- a/app/Export/CSV/BaseExport.php +++ b/app/Export/CSV/BaseExport.php @@ -501,6 +501,8 @@ class BaseExport foreach (array_merge($this->input['report_keys'], $this->forced_keys) as $value) { $key = array_search($value, $this->entity_keys); + + $prefix = ''; if(!$key) { $prefix = stripos($value, 'client.') !== false ? ctrans('texts.client') : ctrans('texts.contact'); diff --git a/phpstan.neon b/phpstan.neon index 02983dff19..ab6b693654 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -2,9 +2,11 @@ includes: - ./vendor/nunomaduro/larastan/extension.neon parameters: - parallel: - processTimeout: 300.0 treatPhpDocTypesAsCertain: false + parallel: + jobSize: 20 + maximumNumberOfProcesses: 2 + processTimeout: 300.0 ignoreErrors: - '#Call to an undefined method .*badMethod\(\)#' - '#Call to an undefined method Illuminate\Database\Eloquent\Builder::exclude#'