Skip to content

Commit 694dc09

Browse files
authored
#22074: Added strict type to the introduced method
1 parent 999766c commit 694dc09

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Controller/Category

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Category/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public function execute()
230230
* @param Category $category
231231
* @return string
232232
*/
233-
private function getPageType(Category $category)
233+
private function getPageType(Category $category) : string
234234
{
235235
$hasChildren = $category->hasChildren();
236236
if ($category->getIsAnchor()) {

0 commit comments

Comments
 (0)