Skip to content

Commit d7a4de6

Browse files
author
Stanislav Idolov
committed
MAGETWO-67444: Ensure all tools support PHP 7 type hinting required by Technical Guidelines
1 parent d80dde4 commit d7a4de6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/internal/Magento/Framework/Code/Reader/NamespaceResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function resolveNamespace($type, array $availableNamespaces)
7272
* @return array
7373
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
7474
*/
75-
public function getImportedNamespaces(array $fileContent) : array
75+
public function getImportedNamespaces(array $fileContent)
7676
{
7777
$fileContent = implode('', $fileContent);
7878

lib/internal/Magento/Framework/Code/Reader/ScalarTypesProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ScalarTypesProvider
1616
*
1717
* @return array
1818
*/
19-
public function getTypes() : array
19+
public function getTypes()
2020
{
2121
return [
2222
'array',

0 commit comments

Comments
 (0)