for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace DiscordWebhook\Embed\Traits;
/**
* Trait ResizableTrait
*
* @package DiscordWebhook\Embed\Traits
* @author Scrummer <[email protected]>
*/
trait ResizableTrait
{
* @var int|null
private $width;
private $height;
* @return int|null
public function getWidth(): ?int
return $this->width;
}
* @param int|null $width
* @return self
public function setWidth(?int $width): self
$this->width = $width;
return $this;
public function getHeight(): ?int
return $this->height;
* @param int|null $height
public function setHeight(?int $height): self
$this->height = $height;