Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
4 / 4
CRAP
100.00% covered (success)
100.00%
6 / 6
Resolution
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
4 / 4
4
100.00% covered (success)
100.00%
6 / 6
 getWidth
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 setWidth
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 getHeight
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 setHeight
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
<?php
declare(strict_types=1);
namespace App\Model;
class Resolution
{
    /**
     * @var int
     */
    private $width;
    /**
     * @var int
     */
    private $height;
    public function getWidth(): int
    {
        return $this->width;
    }
    public function setWidth(int $width): Resolution
    {
        $this->width = $width;
        return $this;
    }
    public function getHeight(): int
    {
        return $this->height;
    }
    public function setHeight(int $height): Resolution
    {
        $this->height = $height;
        return $this;
    }
}