Skip to content

Commit 43b7412

Browse files
committed
ACP2E-3862: Partial update of copyrights for CE for file types 'php', 'phtml', 'html', 'js'
1 parent 5ca8a71 commit 43b7412

File tree

17 files changed

+25
-23
lines changed

17 files changed

+25
-23
lines changed

app/code/Magento/AdminAnalytics/Model/ResourceModel/Viewer/Logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Logger
2121
/**
2222
* Admin Analytics usage version log table name
2323
*/
24-
const LOG_TABLE_NAME = 'admin_analytics_usage_version_log';
24+
public const LOG_TABLE_NAME = 'admin_analytics_usage_version_log';
2525

2626
/**
2727
* @var Resource

app/code/Magento/AdminNotification/Block/Inbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class Inbox extends \Magento\Backend\Block\Widget\Grid\Container
1313
{
1414
/**
15-
* @return void
15+
* @inheridoc
1616
*/
1717
protected function _construct()
1818
{

app/code/Magento/AdminNotification/Block/System/Messages.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class Messages extends Template
2727
/**
2828
* @var JsonDataHelper
2929
* @deprecated 100.3.0
30+
* @see \Magento\Framework\Serialize\Serializer\Json
3031
*/
3132
protected $jsonHelper;
3233

app/code/Magento/AdminNotification/Block/ToolbarEntry.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ class ToolbarEntry extends \Magento\Backend\Block\Template
1717
/**
1818
* Number of notifications showed on expandable window
1919
*/
20-
const NOTIFICATIONS_NUMBER = 3;
20+
public const NOTIFICATIONS_NUMBER = 3;
2121

2222
/**
2323
* Number of notifications showed on icon
2424
*/
25-
const NOTIFICATIONS_COUNTER_MAX = 99;
25+
public const NOTIFICATIONS_COUNTER_MAX = 99;
2626

2727
/**
2828
* Length of notification description showed by default
2929
*/
30-
const NOTIFICATION_DESCRIPTION_LENGTH = 150;
30+
public const NOTIFICATION_DESCRIPTION_LENGTH = 150;
3131

3232
/**
3333
* Collection of latest unread notifications

app/code/Magento/AdminNotification/Block/Window.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ class Window extends \Magento\Backend\Block\Template
1616
/**
1717
* XML path of Severity icons url
1818
*/
19-
const XML_SEVERITY_ICONS_URL_PATH = 'system/adminnotification/severity_icons_url';
19+
public const XML_SEVERITY_ICONS_URL_PATH = 'system/adminnotification/severity_icons_url';
2020

2121
/**
22-
* Severity icons url
23-
*
2422
* @var string
2523
*/
2624
protected $_severityIconsUrl;

app/code/Magento/AdminNotification/Controller/Adminhtml/Notification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ abstract class Notification extends \Magento\Backend\App\AbstractAction
1414
/**
1515
* Authorization level of a basic admin session
1616
*/
17-
const ADMIN_RESOURCE = 'Magento_AdminNotification::show_list';
17+
public const ADMIN_RESOURCE = 'Magento_AdminNotification::show_list';
1818
}

app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class Index extends \Magento\AdminNotification\Controller\Adminhtml\Notification implements HttpGetActionInterface
1111
{
1212
/**
13-
* @return void
13+
* @inheridoc
1414
*/
1515
public function execute()
1616
{

app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MarkAsRead.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MarkAsRead extends Notification implements HttpGetActionInterface
2121
*
2222
* @see _isAllowed()
2323
*/
24-
const ADMIN_RESOURCE = 'Magento_AdminNotification::mark_as_read';
24+
public const ADMIN_RESOURCE = 'Magento_AdminNotification::mark_as_read';
2525

2626
/**
2727
* @var NotificationService

app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassMarkAsRead.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class MassMarkAsRead extends Notification implements HttpPostActionInterface
2020
*
2121
* @see _isAllowed()
2222
*/
23-
const ADMIN_RESOURCE = 'Magento_AdminNotification::mark_as_read';
23+
public const ADMIN_RESOURCE = 'Magento_AdminNotification::mark_as_read';
2424

2525
/**
2626
* @var InboxModelFactory

app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassRemove.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class MassRemove extends Notification implements HttpPostActionInterface
2121
*
2222
* @see _isAllowed()
2323
*/
24-
const ADMIN_RESOURCE = 'Magento_AdminNotification::adminnotification_remove';
24+
public const ADMIN_RESOURCE = 'Magento_AdminNotification::adminnotification_remove';
25+
2526
/**
2627
* @var InboxModelFactory
2728
*/

0 commit comments

Comments
 (0)