Skip to content

Commit b29eaaf

Browse files
glo17680faizan-shk
authored andcommitted
AC-7422:Incompatible issues fix for PHP8.2
1 parent fed8b6d commit b29eaaf

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lib/internal/Magento/Framework/GraphQl/Schema/Type/BooleanType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class BooleanType extends \GraphQL\Type\Definition\BooleanType implements InputT
1515
/**
1616
* @var string
1717
*/
18-
public $name = "Magento_Boolean";
18+
public string $name = "Magento_Boolean";
1919
}

lib/internal/Magento/Framework/GraphQl/Schema/Type/FloatType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class FloatType extends \GraphQL\Type\Definition\FloatType implements InputTypeI
1515
/**
1616
* @var string
1717
*/
18-
public $name = "Magento_Float";
18+
public string $name = "Magento_Float";
1919
}

lib/internal/Magento/Framework/GraphQl/Schema/Type/IdType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class IdType extends \GraphQL\Type\Definition\IDType implements InputTypeInterfa
1515
/**
1616
* @var string
1717
*/
18-
public $name = "Magento_Id";
18+
public string $name = "Magento_Id";
1919
}

lib/internal/Magento/Framework/GraphQl/Schema/Type/IntType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class IntType extends \GraphQL\Type\Definition\IntType implements InputTypeInter
1515
/**
1616
* @var string
1717
*/
18-
public $name = "Magento_Int";
18+
public string $name = "Magento_Int";
1919
}

lib/internal/Magento/Framework/GraphQl/Schema/Type/StringType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class StringType extends \GraphQL\Type\Definition\StringType implements InputTyp
1515
/**
1616
* @var string
1717
*/
18-
public $name = "Magento_String";
18+
public string $name = "Magento_String";
1919
}

0 commit comments

Comments
 (0)