We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d018643 commit 3141689Copy full SHA for 3141689
app/code/Magento/Catalog/Model/FilterProductCustomAttribute.php
@@ -3,6 +3,8 @@
3
* Copyright © Magento, Inc. All rights reserved.
4
* See COPYING.txt for license details.
5
*/
6
+declare(strict_types=1);
7
+
8
namespace Magento\Catalog\Model;
9
10
/**
@@ -26,9 +28,9 @@ public function __construct(array $blackList = [])
26
28
27
29
* Delete custom attribute
30
* @param array $attributes
- * @return mixed
31
+ * @return array
32
- public function execute(array $attributes)
33
+ public function execute(array $attributes): array
34
{
35
return array_diff($attributes, $this->blackList);
36
}
0 commit comments