Skip to content

Commit 1bfad97

Browse files
committed
#16445 - getRegionHtmlSelect does not have configuration - added typehints for method arguments and return typehint
1 parent ab39d6c commit 1bfad97

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Directory/Block

1 file changed

+1
-1
lines changed

app/code/Magento/Directory/Block/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function getRegionHtmlSelect(): string
191191
* @param string $title
192192
* @return string
193193
*/
194-
public function getRegionSelect(string $value = null, string $name = 'region', string $id = 'state', string $title = 'State/Province'): string
194+
public function getRegionSelect(int $value = null, string $name = 'region', string $id = 'state', string $title = 'State/Province'): string
195195
{
196196
\Magento\Framework\Profiler::start('TEST: ' . __METHOD__, ['group' => 'TEST', 'method' => __METHOD__]);
197197
if ($value === null) {

0 commit comments

Comments
 (0)