We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8cef4c commit d3a4c81Copy full SHA for d3a4c81
phpstan.neon.dist
@@ -18,10 +18,4 @@ parameters:
18
19
type_perfect:
20
narrow_return: true
21
- narrow_param: true
22
-
23
- ignoreErrors:
24
- - message: '#.* has unknown class Swag\\PlatformDemoData\\Resources\\helper\\TranslationHelper as its type.#'
25
- paths:
26
- - src
27
- - tests
+ narrow_param: true
src/DataProvider/ProductProvider.php
@@ -64,7 +64,7 @@ public function getPayload(): array
64
{
65
$taxId = $this->getTaxId();
66
$storefrontSalesChannel = $this->getStorefrontSalesChannel();
67
- $enLanguageId = $this->dbHelper->getLanguageId('en-GB');
+ $enLanguageId = Defaults::LANGUAGE_SYSTEM;
68
69
return [
70
[
0 commit comments