We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2d738 commit 5f6417bCopy full SHA for 5f6417b
1 file changed
src/TroiaStudio/Utils/Youtube-API/Model/Video.php
@@ -27,7 +27,7 @@ class Video
27
public $description;
28
29
/**
30
- * @var \DateTime
+ * @var DateTime
31
*/
32
public $published;
33
@@ -90,7 +90,7 @@ public function toArray(): array
90
$result = $this->getProperties();
91
92
foreach ($this->thumbs as $index => $item) {
93
- if ( ! ($item instanceof Thumbnail)) {
+ if (!($item instanceof Thumbnail)) {
94
continue;
95
}
96
$result['thumbs'][$index] = $item->toArray();
0 commit comments