File tree Expand file tree Collapse file tree 10 files changed +8
-17
lines changed Expand file tree Collapse file tree 10 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 1414class Form extends \Magento \Backend \Block \Widget \Form \Generic
1515{
1616 /**
17- * Review data
18- *
1917 * @var \Magento\Review\Helper\Data
2018 */
2119 protected $ _reviewData = null ;
Original file line number Diff line number Diff line change 1414class Rating extends \Magento \Backend \Block \Widget \Grid \Container
1515{
1616 /**
17+ * Initialise the block
18+ *
1719 * @return void
1820 */
1921 protected function _construct ()
Original file line number Diff line number Diff line change 2020class Form extends \Magento \Framework \View \Element \Template
2121{
2222 /**
23- * Review data
24- *
2523 * @var \Magento\Review\Helper\Data
2624 */
2725 protected $ _reviewData = null ;
Original file line number Diff line number Diff line change 1717class Review extends Template implements IdentityInterface
1818{
1919 /**
20- * Core registry
21- *
2220 * @var \Magento\Framework\Registry
2321 */
2422 protected $ _coreRegistry ;
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ class Rating extends \Magento\Framework\Model\AbstractModel implements IdentityI
2424 /**
2525 * rating entity codes
2626 */
27- const ENTITY_PRODUCT_CODE = 'product ' ;
27+ public const ENTITY_PRODUCT_CODE = 'product ' ;
2828
29- const ENTITY_PRODUCT_REVIEW_CODE = 'product_review ' ;
29+ public const ENTITY_PRODUCT_REVIEW_CODE = 'product_review ' ;
3030
31- const ENTITY_REVIEW_CODE = 'review ' ;
31+ public const ENTITY_REVIEW_CODE = 'review ' ;
3232
3333 /**
3434 * @var \Magento\Review\Model\Rating\OptionFactory
Original file line number Diff line number Diff line change 1515class Vote extends \Magento \Framework \Model \AbstractModel
1616{
1717 /**
18+ * Initialise the class
19+ *
1820 * @return void
1921 */
2022 protected function _construct ()
Original file line number Diff line number Diff line change 1717 */
1818class Rating extends \Magento \Framework \Model \ResourceModel \Db \AbstractDb
1919{
20- const RATING_STATUS_APPROVED = 'Approved ' ;
20+ public const RATING_STATUS_APPROVED = 'Approved ' ;
2121
2222 /**
23- * Store manager
24- *
2523 * @var \Magento\Store\Model\StoreManagerInterface
2624 */
2725 protected $ _storeManager ;
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab
2424 protected $ _ratingCollectionF ;
2525
2626 /**
27- * Add store data flag
2827 * @var bool
2928 */
3029 protected $ _addStoreDataFlag = false ;
Original file line number Diff line number Diff line change 1111class Collection extends \Magento \Review \Model \ResourceModel \Rating \Collection
1212{
1313 /**
14- * Core registry
15- *
1614 * @var \Magento\Framework\Registry
1715 */
1816 protected $ _coreRegistry = null ;
Original file line number Diff line number Diff line change 1212class Collection extends \Magento \Framework \Model \ResourceModel \Db \Collection \AbstractCollection
1313{
1414 /**
15- * Review status table
16- *
1715 * @var string
1816 */
1917 protected $ _reviewStatusTable ;
You can’t perform that action at this time.
0 commit comments