Skip to content

Commit

Permalink
Merge pull request #26 from exonet/dependabot/github_actions/release-…
Browse files Browse the repository at this point in the history
…drafter/release-drafter-6

Bump release-drafter/release-drafter from 5 to 6
  • Loading branch information
robbinjanssen authored Feb 5, 2024
2 parents 49b20e5 + 56fdaa2 commit 318bb02
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/draft-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 3 additions & 1 deletion docs/examples/basic_example.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?php

use Exonet\SecureMessage\Factory;

require __DIR__.'/../../vendor/autoload.php';

// Create the factory.
$secureMessageFactory = new Exonet\SecureMessage\Factory();
$secureMessageFactory = new Factory();
// Set the (application wide) meta key. (Don't use this simple key in production!)
$secureMessageFactory->setMetaKey('0123456789');

Expand Down
5 changes: 3 additions & 2 deletions src/Laravel/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 318bb02

Please sign in to comment.