influxdata / influxdb-php

influxdb-php: A PHP Client for InfluxDB, a time series database
http://influxdb.com
MIT License
432 stars 125 forks source link

Fix a phpdoc annotation in the Point class #127

Open haginaga opened 5 years ago

haginaga commented 5 years ago

Running phan(a static analyzer for PHP) results in the following error:

PhanTypeMismatchArgument Argument 2 (value) is null but \InfluxDB\Point::__construct() takes float defined at vendor/influxdb/influxdb-php/src/InfluxDB/Point.php:45

This pull request fix it.