diff options
author | Vitor Mattos <vitor@php.rio> | 2022-04-06 12:43:03 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-04-06 12:43:03 -0300 |
commit | c07251f0c67d3c02debe1f6dbe0e12ee3fe9f99a (patch) | |
tree | be06389952fa3dee69071af38e872ec350da3a96 /lib/Federation/CloudFederationProviderTalk.php | |
parent | f7505e0d59b8343bc0405286fdf9c8b4da27d3dc (diff) |
Use PHP7.4 property typehinting where possible
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Federation/CloudFederationProviderTalk.php')
-rw-r--r-- | lib/Federation/CloudFederationProviderTalk.php | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/lib/Federation/CloudFederationProviderTalk.php b/lib/Federation/CloudFederationProviderTalk.php index 967140b7e..dd259c1e2 100644 --- a/lib/Federation/CloudFederationProviderTalk.php +++ b/lib/Federation/CloudFederationProviderTalk.php @@ -51,33 +51,24 @@ use OCP\Notification\IManager as INotificationManager; use OCP\Share\Exceptions\ShareNotFound; class CloudFederationProviderTalk implements ICloudFederationProvider { - - /** @var IUserManager */ - private $userManager; + private IUserManager $userManager; /** @var AddressHandler */ private $addressHandler; - /** @var FederationManager */ - private $federationManager; + private FederationManager $federationManager; - /** @var Config */ - private $config; + private Config $config; - /** @var INotificationManager */ - private $notificationManager; + private INotificationManager $notificationManager; - /** @var IURLGenerator */ - private $urlGenerator; + private IURLGenerator $urlGenerator; - /** @var ParticipantService */ - private $participantService; + private ParticipantService $participantService; - /** @var AttendeeMapper */ - private $attendeeMapper; + private AttendeeMapper $attendeeMapper; - /** @var Manager */ - private $manager; + private Manager $manager; public function __construct( IUserManager $userManager, |