11<?php
22/**
3- * Configuration interface
4- *
5- * Copyright © Magento, Inc. All rights reserved.
6- * See COPYING.txt for license details.
3+ * Copyright 2011 Adobe
4+ * All Rights Reserved.
75 */
86
97namespace Magento \Framework \App \Config ;
@@ -17,14 +15,14 @@ interface ScopeConfigInterface
1715 /**
1816 * Default scope type
1917 */
20- const SCOPE_TYPE_DEFAULT = 'default ' ;
18+ public const SCOPE_TYPE_DEFAULT = 'default ' ;
2119
2220 /**
2321 * Retrieve config value by path and scope.
2422 *
2523 * @param string $path The path through the tree of configuration values, e.g., 'general/store_information/name'
2624 * @param string $scopeType The scope to use to determine config value, e.g., 'store' or 'default'
27- * @param null|int|string $scopeCode
25+ * @param null|int|string|\Magento\Framework\App\ScopeInterface $scopeCode
2826 * @return mixed
2927 */
3028 public function getValue ($ path , $ scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT , $ scopeCode = null );
@@ -34,7 +32,7 @@ public function getValue($path, $scopeType = ScopeConfigInterface::SCOPE_TYPE_DE
3432 *
3533 * @param string $path The path through the tree of configuration values, e.g., 'general/store_information/name'
3634 * @param string $scopeType The scope to use to determine config value, e.g., 'store' or 'default'
37- * @param null|int|string $scopeCode
35+ * @param null|int|string|\Magento\Framework\App\ScopeInterface $scopeCode
3836 * @return bool
3937 */
4038 public function isSetFlag ($ path , $ scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT , $ scopeCode = null );
0 commit comments