Skip to content

Commit ddf6d93

Browse files
authored
static-test fix
1 parent 2621d51 commit ddf6d93

File tree

1 file changed

+12
-10
lines changed
  • app/code/Magento/Catalog/Model/View/Asset

1 file changed

+12
-10
lines changed

app/code/Magento/Catalog/Model/View/Asset/Image.php

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,31 +88,31 @@ public function __construct(
8888
}
8989

9090
/**
91-
* {@inheritdoc}
91+
* @inheritdoc
9292
*/
9393
public function getUrl()
9494
{
9595
return $this->context->getBaseUrl() . DIRECTORY_SEPARATOR . $this->getImageInfo();
9696
}
9797

9898
/**
99-
* {@inheritdoc}
99+
* @inheritdoc
100100
*/
101101
public function getContentType()
102102
{
103103
return $this->contentType;
104104
}
105105

106106
/**
107-
* {@inheritdoc}
107+
* @inheritdoc
108108
*/
109109
public function getPath()
110110
{
111111
return $this->context->getPath() . DIRECTORY_SEPARATOR . $this->getImageInfo();
112112
}
113113

114114
/**
115-
* {@inheritdoc}
115+
* @inheritdoc
116116
*/
117117
public function getSourceFile()
118118
{
@@ -131,23 +131,24 @@ public function getSourceContentType()
131131
}
132132

133133
/**
134-
* {@inheritdoc}
134+
* @inheritdoc
135135
*/
136136
public function getContent()
137137
{
138138
return null;
139139
}
140140

141141
/**
142-
* {@inheritdoc}
142+
* @inheritdoc
143143
*/
144144
public function getFilePath()
145145
{
146146
return $this->filePath;
147147
}
148148

149149
/**
150-
* {@inheritdoc}
150+
* @inheritdoc
151+
*
151152
* @return ContextInterface
152153
*/
153154
public function getContext()
@@ -156,7 +157,7 @@ public function getContext()
156157
}
157158

158159
/**
159-
* {@inheritdoc}
160+
* @inheritdoc
160161
*/
161162
public function getModule()
162163
{
@@ -191,10 +192,11 @@ private function getImageInfo()
191192

192193
/**
193194
* Converting bool into a string representation
194-
* @param $miscParams
195+
*
196+
* @param array $miscParams
195197
* @return array
196198
*/
197-
private function convertToReadableFormat($miscParams)
199+
private function convertToReadableFormat(array $miscParams)
198200
{
199201
$miscParams['image_height'] = 'h:' . ($miscParams['image_height'] ?? 'empty');
200202
$miscParams['image_width'] = 'w:' . ($miscParams['image_width'] ?? 'empty');

0 commit comments

Comments
 (0)