src/Helpers/ConfigTrait.php
<?php There must be one blank line after the namespace declarationnamespace Nopolabs\Yabot\Helpers; trait ConfigTrait{ /** @var array */ private $config = []; public function setConfig(array $config) { $this->config = $config; } protected function getConfig() : array { return $this->config; } protected function has($key) : bool { return isset($this->config[$key]); } protected function get($key, $default = null) { return $this->config[$key] ?? $default; }Expected 1 newline at end of file; 0 found}