mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-07-30 12:15:57 -04:00
major conversion to 8.0 constructors, using readonly where obvious
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user