File tree 3 files changed +6
-6
lines changed
Downloadable/Block/Catalog/Product 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
9
9
namespace Magento \Downloadable \Block \Catalog \Product ;
10
10
11
- use Magento \Downloadable \Model \ResourceModel \Sample ;
11
+ use Magento \Downloadable \Model \ResourceModel \Sample \Collection as SampleCollection ;
12
+ use Magento \Downloadable \Api \Data \SampleInterface ;
12
13
13
14
/**
14
15
* Downloadable Product Samples part block
@@ -30,15 +31,15 @@ public function hasSamples()
30
31
/**
31
32
* Get downloadable product samples
32
33
*
33
- * @return array
34
+ * @return SampleCollection
34
35
*/
35
36
public function getSamples ()
36
37
{
37
38
return $ this ->getProduct ()->getTypeInstance ()->getSamples ($ this ->getProduct ());
38
39
}
39
40
40
41
/**
41
- * @param Sample $sample
42
+ * @param SampleInterface $sample
42
43
* @return string
43
44
*/
44
45
public function getSampleUrl ($ sample )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public function save(\Magento\Search\Api\Data\SynonymGroupInterface $synonymGrou
28
28
public function delete (\Magento \Search \Api \Data \SynonymGroupInterface $ synonymGroup );
29
29
30
30
/**
31
- * Return a paritcular synonym group interface instance based on passed in synonym group id
31
+ * Return a particular synonym group interface instance based on passed in synonym group id
32
32
*
33
33
* @param int $synonymGroupId
34
34
* @return \Magento\Search\Api\Data\SynonymGroupInterface
Original file line number Diff line number Diff line change 260
260
@_line-height : normal
261
261
) {
262
262
.lib-font-size (@_font-size );
263
- font-size : @_font-size ;
263
+ .lib-line-height ( @_line-height ) ;
264
264
letter-spacing : normal ;
265
- line-height : @_line-height ;
266
265
}
267
266
268
267
//
You can’t perform that action at this time.
0 commit comments