diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml index 4f04193..c975a69 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/draft-release.yaml @@ -12,6 +12,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Run release drafter - uses: release-drafter/release-drafter@v5 + uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/examples/basic_example.php b/docs/examples/basic_example.php index 6c93fc4..5843fee 100644 --- a/docs/examples/basic_example.php +++ b/docs/examples/basic_example.php @@ -1,9 +1,11 @@ setMetaKey('0123456789'); diff --git a/src/Laravel/Factory.php b/src/Laravel/Factory.php index 54d4ef1..cad0753 100644 --- a/src/Laravel/Factory.php +++ b/src/Laravel/Factory.php @@ -6,6 +6,7 @@ use Exonet\SecureMessage\Exceptions\DecryptException; use Exonet\SecureMessage\Exceptions\ExpiredException; use Exonet\SecureMessage\Exceptions\HitPointLimitReachedException; +use Exonet\SecureMessage\Exceptions\InvalidKeyLengthException; use Exonet\SecureMessage\Factory as SecureMessageFactory; use Exonet\SecureMessage\Laravel\Database\SecureMessage as SecureMessageModel; use Exonet\SecureMessage\Laravel\Events\DecryptionFailed; @@ -53,8 +54,8 @@ class Factory * @param Config $config The Laravel configuration instance. * @param Event $event The Laravel event dispatcher instance. * - * @throws \Exonet\SecureMessage\Exceptions\InvalidKeyLengthException If the specified meta key isn't - * exactly 10 characters. + * @throws InvalidKeyLengthException If the specified meta key isn't + * exactly 10 characters. */ public function __construct( SecureMessageFactory $secureMessageFactory,