25. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2020-08-14 00:01:30 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

25.1 Files compared

#LocationFileLast Modified
1Porto v3.2.3/Magento 2.x/Porto Theme/app/code/Mageplaza/LayeredNavigation/Api/SearchDocument.php2018-10-10 20:33:20 +0000
2Porto v3.2.4/Magento 2.x/Porto Theme/app/code/Mageplaza/LayeredNavigation/Api/SearchDocument.php2020-06-26 11:11:14 +0000

25.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged382
Changed13
Inserted11
Removed00

25.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

25.4 Active regular expressions

No regular expressions were active.

25.5 Comparison detail

1 <?php 1 <?php
2 /** 2 /**
3  * Mageplaza 3  * Mageplaza
4  * 4  *
5  * NOTICE OF LICENSE 5  * NOTICE OF LICENSE
6  * 6  *
7  * This source file is subject to the Mageplaza.com license that is 7  * This source file is subject to the Mageplaza.com license that is
8  * available through the world-wide-web at this URL: 8  * available through the world-wide-web at this URL:
9  * https://www.mageplaza.com/LICENSE.txt 9  * https://www.mageplaza.com/LICENSE.txt
10  * 10  *
11  * DISCLAIMER 11  * DISCLAIMER
12  * 12  *
13  * Do not edit or add to this file if you wish to upgrade this extension to newer 13  * Do not edit or add to this file if you wish to upgrade this extension to newer
14  * version in the future. 14  * version in the future.
15  * 15  *
16  * @category    Mageplaza 16  * @category    Mageplaza
17  * @package     Mageplaza_LayeredNavigation 17  * @package     Mageplaza_LayeredNavigation
18  * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/) 18  * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
19  * @license     https://www.mageplaza.com/LICENSE.txt 19  * @license     https://www.mageplaza.com/LICENSE.txt
20  */ 20  */
21  21 
22 namespace Mageplaza\LayeredNavigation\Api\Search; 22 namespace Mageplaza\LayeredNavigation\Api\Search;
23  23 
    24 use Magento\Framework\Api\AttributeInterface;
24 use Magento\Framework\Api\Search\Document as SourceDocument; 25 use Magento\Framework\Api\Search\Document as SourceDocument;
25  26 
26 /** 27 /**
27  * Class Document 28  * Class Document
28  * @package Mageplaza\LayeredNavigation\Api\Search 29  * @package Mageplaza\LayeredNavigation\Api\Search
29  */ 30  */
30 class Document extends SourceDocument 31 class Document extends SourceDocument
31 { 32 {
32     /** 33     /**
33      * Get Document field 34      * Get Document field
34      * 35      *
35      * @param string $fieldName 36      * @param string $fieldName
36      * @return \Magento\Framework\Api\AttributeInterface 37      *
    38      * @return 
AttributeInterface
37      */ 39      */
38     public function getField($fieldName) 40     public function getField($fieldName)
39     { 41     {
40         return $this->getCustomAttribute($fieldName); 42         return $this->getCustomAttribute($fieldName);
41     } 43     }
42 } 44 }