for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/*
* This file is part of the feed-io package.
*
* (c) Alexandre Debril <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FeedIo\Feed\Item;
class MediaThumbnail implements MediaThumbnailInterface
{
/**
* @var string
protected $url;
* @var int
protected $width;
protected $height;
* @var DateTime
protected $time;
* @return string
public function getUrl() : ? string
return $this->url;
}
* @param string $url
* @return MediaThumbnailInterface
public function setUrl(?string $url) : MediaThumbnailInterface
$this->url = $url;
return $this;
* @return int
public function getWidth() : ?int
return $this->width;
* @param int $width
public function setWidth(?int $width) : MediaThumbnailInterface
$this->width = $width;
public function getHeight() : ?int
return $this->height;
* @param int $height
public function setHeight(?int $height) : MediaThumbnailInterface
$this->height = $height;
* @return DateTime
public function getTime() : ? \DateTime
return $this->time;
* @param \DateTime $time
public function setTime(? \DateTime $time) : MediaThumbnailInterface
$this->time = $time;
$time
object<DateTime>
object<FeedIo\Feed\Item\DateTime>
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..