major conversion to 8.0 constructors, using readonly where obvious

This commit is contained in:
Spine
2023-02-03 11:13:53 +01:00
parent 5b95d17102
commit b9727d0381
37 changed files with 138 additions and 228 deletions
+3 -5
View File
@@ -3,11 +3,9 @@
namespace Gazelle\API;
abstract class AbstractAPI extends \Gazelle\Base {
protected $config;
public function __construct(array $config) {
$this->config = $config;
}
public function __construct(
protected array $config,
) {}
abstract public function run();
}