Skip to content

Commit 6be75bd

Browse files
author
Serhii Kasianchuk
committed
KSV | clean up && remove return type in message generator
1 parent a99876a commit 6be75bd

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

src/Core/ExceptionsMessages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct(Exception $exception)
2020
/**
2121
* @return Exception
2222
*/
23-
public function getException(): Exception
23+
public function getException()
2424
{
2525
return $this->exception;
2626
}

src/DTO/EmbeddedClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace PDFfiller\OAuth2\Client\Provider\DTO;
44

55
use PDFfiller\OAuth2\Client\Provider\Core\AbstractObject;
6-
use PDFfiller\OAuth2\Client\Provider\Core\ListObject;
76

87
/**
98
* Class FieldsAccess

src/Exceptions/OptionsMissingException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class OptionsMissingException extends Exception
1616

1717
/**
1818
* OptionsMissingException constructor.
19-
* @param string $options
19+
* @param array $options
2020
* @param int $code
2121
* @param Exception|null $previous
2222
*/

src/FillableTemplate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace PDFfiller\OAuth2\Client\Provider;
44

5-
use PDFfiller\OAuth2\Client\Provider\Core\ListObject;
65
use PDFfiller\OAuth2\Client\Provider\Core\Model;
76
use PDFfiller\OAuth2\Client\Provider\Core\ModelsList;
87
use PDFfiller\OAuth2\Client\Provider\DTO\FillableField;
@@ -42,8 +41,9 @@ public function attributes()
4241
}
4342

4443
/**
44+
* @param $provider
4545
* @param $id
46-
* @return FillableTemplate
46+
* @return static
4747
*/
4848
public static function dictionary($provider, $id)
4949
{

0 commit comments

Comments
 (0)