for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Minepic\Image;
class Point
{
/**
* @var int
*/
private int $x;
private int $y;
* Point constructor.
*
* @param int $x
* @param int $y
public function __construct(int $x, int $y)
$this->x = $x;
$this->y = $y;
}
* @return int
public function getX(): int
return $this->x;
public function getY(): int
return $this->y;