@@ -572,7 +572,7 @@ |
||
| 572 | 572 | * |
| 573 | 573 | * @param string $path The path of the category to count the children for |
| 574 | 574 | * |
| 575 | - * @return integer The children count of the category with the passed path |
|
| 575 | + * @return string The children count of the category with the passed path |
|
| 576 | 576 | */ |
| 577 | 577 | public function loadCategoryChildrenChildrenCount($path) |
| 578 | 578 | { |
@@ -334,7 +334,7 @@ |
||
| 334 | 334 | $status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 335 | 335 | |
| 336 | 336 | // load the global data we've prepared initially |
| 337 | - $this->storeWebsites = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES]; |
|
| 337 | + $this->storeWebsites = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORE_WEBSITES]; |
|
| 338 | 338 | $this->attributes = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::EAV_ATTRIBUTES]; |
| 339 | 339 | $this->stores = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::STORES]; |
| 340 | 340 | $this->taxClasses = $status[RegistryKeys::GLOBAL_DATA][RegistryKeys::TAX_CLASSES]; |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | // remove all the empty values from the row |
| 83 | 83 | $row = array_filter( |
| 84 | 84 | $this->row, |
| 85 | - function ($value, $key) { |
|
| 85 | + function($value, $key) { |
|
| 86 | 86 | return ($value !== null && $value !== ''); |
| 87 | 87 | }, |
| 88 | 88 | ARRAY_FILTER_USE_BOTH |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | $this->backendType = $backendType; |
| 127 | 127 | |
| 128 | 128 | // initialize the persist method for the found backend type |
| 129 | - list ($persistMethod, ) = $backendTypes[$backendType]; |
|
| 129 | + list ($persistMethod,) = $backendTypes[$backendType]; |
|
| 130 | 130 | |
| 131 | 131 | // set the attribute value |
| 132 | 132 | $this->attributeValue = $attributeValue; |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | // convert the elements of the URL path |
| 84 | - array_walk($urlPath, function (&$value) { |
|
| 84 | + array_walk($urlPath, function(&$value) { |
|
| 85 | 85 | $value = $this->convertNameToUrlKey($value); |
| 86 | 86 | }); |
| 87 | 87 | |