@@ -46,6 +46,7 @@ |
||
| 46 | 46 | * |
| 47 | 47 | * @param string |
| 48 | 48 | * @param array |
| 49 | + * @param string $class |
|
| 49 | 50 | * @return array |
| 50 | 51 | */ |
| 51 | 52 | protected function getLogContextData($class, array $logData=[]) |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | namespace eBayEnterprise\RetailOrderManagement\Payload; |
| 17 | 17 | |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | * @param array |
| 49 | 49 | * @return array |
| 50 | 50 | */ |
| 51 | - protected function getLogContextData($class, array $logData=[]) |
|
| 51 | + protected function getLogContextData($class, array $logData = [ ]) |
|
| 52 | 52 | { |
| 53 | 53 | $context = $this->getLogContext(); |
| 54 | 54 | return $context ? $context->getMetaData($class, $logData) : $logData; |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | $isAllowed = in_array($jurisdictionLevel, $this->allowedJurisdictionLevels); |
| 192 | 192 | $this->jurisdictionLevel = $isAllowed ? $jurisdictionLevel : null; |
| 193 | 193 | if (!$isAllowed) { |
| 194 | - $logData = ['jurisdiction_level' => $jurisdictionLevel]; |
|
| 194 | + $logData = [ 'jurisdiction_level' => $jurisdictionLevel ]; |
|
| 195 | 195 | $this->logger->warning( |
| 196 | 196 | 'Jurisdiction Level "{jurisdiction_level}" is not allowed.', |
| 197 | 197 | $this->getLogContextData(__CLASS__, $logData) |