File tree Expand file tree Collapse file tree 21 files changed +70
-111
lines changed
System/Config/Source/Coupon Expand file tree Collapse file tree 21 files changed +70
-111
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \SalesRule \Model \ResourceModel \Report \Rule ;
77
88/**
99 * Rule report resource model with aggregation by updated at
10- *
11- * @author Magento Core Team <core@magentocommerce.com>
1210 */
1311class Updatedat extends \Magento \SalesRule \Model \ResourceModel \Report \Rule \Createdat
1412{
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \SalesRule \Model \ResourceModel \Report \Updatedat ;
77
88/**
99 * Sales report coupons collection
10- *
11- * @author Magento Core Team <core@magentocommerce.com>
1210 */
1311class Collection extends \Magento \SalesRule \Model \ResourceModel \Report \Collection
1412{
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \SalesRule \Model \ResourceModel \Rule ;
77
88/**
99 * SalesRule Rule Customer Model Resource
10- *
11- * @author Magento Core Team <core@magentocommerce.com>
1210 */
1311class Customer extends \Magento \Framework \Model \ResourceModel \Db \AbstractDb
1412{
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \SalesRule \Model \ResourceModel \Rule \Customer ;
77
88/**
99 * SalesRule Model Resource Rule Customer_Collection
10- *
11- * @author Magento Core Team <core@magentocommerce.com>
1210 */
1311class Collection extends \Magento \Framework \Model \ResourceModel \Db \Collection \AbstractCollection
1412{
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \SalesRule \Model \Rule ;
77
1414 * @method \Magento\SalesRule\Model\Rule\Customer setCustomerId(int $value)
1515 * @method int getTimesUsed()
1616 * @method \Magento\SalesRule\Model\Rule\Customer setTimesUsed(int $value)
17- *
18- * @author Magento Core Team <core@magentocommerce.com>
1917 */
2018class Customer extends \Magento \Framework \Model \AbstractModel
2119{
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \SalesRule \Model \System \Config \Source \Coupon ;
77
88/**
99 * Options for Code Format Field in Auto Generated Specific Coupon Codes configuration section
10- *
11- * @author Magento Core Team <core@magentocommerce.com>
1210 */
1311class Format implements \Magento \Framework \Option \ArrayInterface
1412{
1513 /**
16- * Sales rule coupon
17- *
1814 * @var \Magento\SalesRule\Helper\Coupon
1915 */
2016 protected $ _salesRuleCoupon = null ;
@@ -28,7 +24,7 @@ public function __construct(\Magento\SalesRule\Helper\Coupon $salesRuleCoupon)
2824 }
2925
3026 /**
31- * { @inheritdoc}
27+ * @inheritdoc
3228 */
3329 public function toOptionArray ()
3430 {
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \SendFriend \Block ;
77
1212 * Email to a Friend Block
1313 *
1414 * @api
15- * @author Magento Core Team <core@magentocommerce.com>
1615 * @since 100.0.2
1716 */
1817class Send extends \Magento \Framework \View \Element \Template
1918{
2019 /**
21- * SendFriend data
22- *
2320 * @var \Magento\SendFriend\Helper\Data
2421 */
2522 protected $ _sendfriendData = null ;
2623
2724 /**
28- * Core registry
29- *
3025 * @var \Magento\Framework\Registry
3126 */
3227 protected $ _coreRegistry = null ;
@@ -245,5 +240,6 @@ protected function _prepareLayout()
245240 ]
246241 );
247242 }
243+ return $ this ;
248244 }
249245}
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66
77namespace Magento \SendFriend \Helper ;
88
99/**
1010 * SendFriend Data Helper
1111 *
12- * @author Magento Core Team <core@magentocommerce.com>
13- *
1412 * @api
1513 * @since 100.0.2
1614 */
1715class Data extends \Magento \Framework \App \Helper \AbstractHelper
1816{
19- const XML_PATH_ENABLED = 'sendfriend/email/enabled ' ;
17+ public const XML_PATH_ENABLED = 'sendfriend/email/enabled ' ;
2018
21- const XML_PATH_ALLOW_FOR_GUEST = 'sendfriend/email/allow_guest ' ;
19+ public const XML_PATH_ALLOW_FOR_GUEST = 'sendfriend/email/allow_guest ' ;
2220
23- const XML_PATH_MAX_RECIPIENTS = 'sendfriend/email/max_recipients ' ;
21+ public const XML_PATH_MAX_RECIPIENTS = 'sendfriend/email/max_recipients ' ;
2422
25- const XML_PATH_MAX_PER_HOUR = 'sendfriend/email/max_per_hour ' ;
23+ public const XML_PATH_MAX_PER_HOUR = 'sendfriend/email/max_per_hour ' ;
2624
27- const XML_PATH_LIMIT_BY = 'sendfriend/email/check_by ' ;
25+ public const XML_PATH_LIMIT_BY = 'sendfriend/email/check_by ' ;
2826
29- const XML_PATH_EMAIL_TEMPLATE = 'sendfriend/email/template ' ;
27+ public const XML_PATH_EMAIL_TEMPLATE = 'sendfriend/email/template ' ;
3028
31- const COOKIE_NAME = 'stf ' ;
29+ public const COOKIE_NAME = 'stf ' ;
3230
33- const CHECK_IP = 1 ;
31+ public const CHECK_IP = 1 ;
3432
35- const CHECK_COOKIE = 0 ;
33+ public const CHECK_COOKIE = 0 ;
3634
3735 /**
3836 * Check is enabled Module
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \SendFriend \Model \ResourceModel \SendFriend ;
77
88/**
99 * SendFriend log resource collection
1010 *
11- * @author Magento Core Team <core@magentocommerce.com>
12- *
1311 * @api
1412 * @since 100.0.2
1513 */
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved .
55 */
66declare (strict_types=1 );
77
2222 * @method int getTime()
2323 * @method \Magento\SendFriend\Model\SendFriend setTime(int $value)
2424 *
25- * @author Magento Core Team <core@magentocommerce.com>
2625 * @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
2726 * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2827 *
You can’t perform that action at this time.
0 commit comments