Skip to content

Commit b7c8469

Browse files
committed
docs: update README
1 parent 51cf6e7 commit b7c8469

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This package is a Laravel wrapper for the [influxdb-php](https://packagist.org/p
44

55
## Installation
66

7-
This package requires PHP 7.4+, Laravel 8+ and works with InfluxDB 2.0. For InfluxDB 1.x, see the [1.x setup instructions in the next section](#influxdb-1x).
7+
This package requires PHP 7.4+, Laravel 8+ and works with InfluxDB 2.0/1.8+. For InfluxDB 1.7 or earlier, see the [1.x setup instructions in the next section](#influxdb-1x).
88

99
1. To install the latest version of the package, run the following command in your terminal:
1010

@@ -83,11 +83,9 @@ use GeTracker\InfluxDBLaravel\InfluxDBManager;
8383
8484
class Foo
8585
{
86-
/** @var InfluxDBManager */
87-
protected $influxDb;
88-
89-
public function __construct(InfluxDBManager $influxDb)
90-
{
86+
public function __construct(
87+
protected InfluxDBManager $influxDb
88+
) {
9189
$this->influxDB = $influxDB;
9290
}
9391

0 commit comments

Comments
 (0)