Coding standards

This commit is contained in:
Michael 2021-11-23 14:55:52 +00:00
parent b56ccbcf2b
commit 4373a66f74
5 changed files with 11 additions and 14 deletions

View file

@ -44,7 +44,7 @@ class Hashtag extends BaseDataTransferObject
public function __construct(string $name, array $indices)
{
$this->indices = $indices;
$this->text = $name;
$this->text = $name;
}
/**

View file

@ -79,7 +79,7 @@ class Media extends BaseDataTransferObject
$size = 'large';
}
$this->sizes = [
$this->sizes = [
$size => [
'h' => $media['height'],
'resize' => 'fit',
@ -87,7 +87,6 @@ class Media extends BaseDataTransferObject
]
];
}
}
/**