Skip to content
Snippets Groups Projects
Commit 49b08f46 authored by Yas Naoi's avatar Yas Naoi Committed by Yas Naoi
Browse files

Issue #3355302 by yas: Fix deprecated function: Creation of dynamic property...

Issue #3355302 by yas: Fix deprecated function: Creation of dynamic property $tempStoreFactory to support PHP 8.2
parent 28edbca9
Branches
Tags
1 merge request!1759Issue #3356778: Release 5.1.1
Showing with 49 additions and 1 deletion
......@@ -40,6 +40,13 @@ class InstanceTypePriceController extends ControllerBase implements InstanceType
*/
protected $currentRoute;
/**
* Current route.
*
* @var \Drupal\aws_cloud\Service\Pricing\InstanceTypePriceTableRenderer
*/
protected $priceTableRenderer;
/**
* InstanceTypePriceController constructor.
*
......
......@@ -39,6 +39,13 @@ class AwsCloudAdminNotificationSettings extends ConfigFormBase {
*/
protected $googleSpreadsheetService;
/**
* The module handler service.
*
* @var \Drupal\Core\Extension\ModuleHandlerInterface
*/
protected $moduleHandler;
/**
* Constructs a AwsCloudAdminNotificationSettings object.
*
......
......@@ -44,6 +44,13 @@ class AwsCloudAdminSettings extends ConfigFormBase {
*/
protected $entityTypeManager;
/**
* The module handler service.
*
* @var \Drupal\Core\Extension\ModuleHandlerInterface
*/
protected $moduleHandler;
/**
* Constructs a AwsCloudAdminSettings object.
*
......
......@@ -102,7 +102,6 @@ class SecurityGroupCopyForm extends SecurityGroupEditForm {
parent::validateForm($form, $form_state);
/** @var \Drupal\aws_cloud\Entity\Ec2\SecurityGroupInterface $entity */
$entity = $this->entity->createDuplicate();
$this->source_entity = $this->entity;
$this->entity = $entity;
$this->trimTextfields($form, $form_state);
......
......@@ -64,6 +64,13 @@ class CloudFormationService extends CloudServiceBase implements CloudFormationSe
*/
protected $cloudService;
/**
* The lock interface.
*
* @var \Drupal\Core\Lock\LockBackendInterface
*/
protected $lock;
/**
* Constructs a new CloudFormationService object.
*
......
......@@ -78,6 +78,13 @@ class K8sCloudProjectPluginTest extends UnitTestCase {
*/
private $random;
/**
* User account.
*
* @var \Drupal\Core\Session\Account
*/
private $account;
/**
* {@inheritdoc}
*/
......
......@@ -31,6 +31,13 @@ class OpenStackIpPermissionItem extends IpPermissionItem implements ContainerFac
*/
private $openStackServiceFactory;
/**
* The EC2 Service.
*
* @var \Drupal\aws_cloud\Service\Ec2\Ec2ServiceInterface
*/
private $ec2Service;
/**
* Constructs an EntityLinkFormatter instance.
*
......
......@@ -29,6 +29,13 @@ class EntityOperateMultipleAccessCheck implements AccessInterface {
*/
protected $requestStack;
/**
* The shared tempstore factory.
*
* @var \Drupal\Core\TempStore\SharedTempStoreFactory
*/
protected $tempStoreFactory;
/**
* Constructs a new EntityOperateMultipleAccessCheck.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment