Improve array docblock NO_CI

This commit is contained in:
Dennis Eichhorn 2020-02-05 16:31:57 +01:00 committed by GitHub
parent 2b3de00f4c
commit e0638cb60c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ final class CubicSplineInterpolation implements InterpolationInterface
/** /**
* Points for spline interpolation * Points for spline interpolation
* *
* @var array * @var array<array{x:int|float, y:int|float}>
* @since 1.0.0 * @since 1.0.0
*/ */
private array $points = []; private array $points = [];
@ -62,11 +62,11 @@ final class CubicSplineInterpolation implements InterpolationInterface
/** /**
* Constructor. * Constructor.
* *
* @param array $points Points to create the interpolation with * @param array<array{x:int|float, y:int|float}> $points Points to create the interpolation with
* @param float $leftCurvature Left point curvature * @param float $leftCurvature Left point curvature
* @param float $leftDerivativeType Derivative type for the left point * @param float $leftDerivativeType Derivative type for the left point
* @param float $rightCurvature Right point curvature * @param float $rightCurvature Right point curvature
* @param float $rightDerivativeType Derivative type for the right point * @param float $rightDerivativeType Derivative type for the right point
* *
* @since 1.0.0 * @since 1.0.0
*/ */