Skip to content

Commit 7c8e0e3

Browse files
committed
Remove PHP 7.4 Features.
Fixes #1
1 parent 670c5f1 commit 7c8e0e3

File tree

3 files changed

+10
-34
lines changed

3 files changed

+10
-34
lines changed

src/OauthCredentialManager.php

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,13 @@
1010

1111
class OauthCredentialManager
1212
{
13-
/**
14-
* @var Repository
15-
*/
16-
protected Repository $cache;
17-
18-
/**
19-
* @var Oauth2Provider
20-
*/
13+
/** @var Repository */
14+
protected $cache;
15+
16+
/** @var Oauth2Provider */
2117
protected $oauthProvider;
2218

23-
/**
24-
* @var Store
25-
*/
19+
/** @var Store */
2620
protected $session;
2721

2822
protected $cacheKey = 'xero_oauth';

src/WebhookEvent.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@
1010
class WebhookEvent
1111
{
1212

13+
/** @var Collection */
1314
protected $properties;
1415

15-
protected AccountingApi $accountingApi;
16+
/** @var AccountingApi */
17+
protected $accountingApi;
1618

17-
protected OauthCredentialManager $credentialManager;
19+
/** @var OauthCredentialManager */
20+
protected $credentialManager;
1821

1922
public function __construct(OauthCredentialManager $credentialManager, AccountingApi $accountingApi, $event)
2023
{

src/XeroFacade.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)