php-ml/src/Math/Distance.php
Tomáš Votruba 46fa2c2cca Update to EasyCodingStandard 4 (#273)
* update ECS config to v4

* composer: require Symplify 4

* apply coding-standard: use constants over functions, protected setUp() in tests, array indentation

* ecs: add false positive case

* composer: update lock

* bump to ECS 4.4

* update composer.lock

* shorten ECS config name

* ecs: ignore assignments in while()

* fix cs
2018-06-15 07:57:45 +02:00

11 lines
136 B
PHP

<?php
declare(strict_types=1);
namespace Phpml\Math;
interface Distance
{
public function distance(array $a, array $b): float;
}