Skip to content

Commit

Permalink
[TransactionalMessenger] Updated README with minimal version of php, …
Browse files Browse the repository at this point in the history
…code style fixes
  • Loading branch information
fractalzombie committed Jul 28, 2024
1 parent 7627b33 commit 1806bf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Helper/AttributeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
namespace FRZB\Component\TransactionalMessenger\Helper;

use Fp\Collections\ArrayList;
use Fp\Functional\Option\Option;
use JetBrains\PhpStorm\Immutable;

/** @internal */
Expand Down Expand Up @@ -72,6 +71,7 @@ public static function getReflectionAttributes(object|string $target, string $at
return ArrayList::collect(ClassHelper::getInheritanceList($target))
->map(static fn (string $class) => new \ReflectionClass($class))
->map(static fn (\ReflectionClass $rClass) => ClassHelper::getReflectionAttributes($rClass, $attributeClass))
->toMergedArray();
->toMergedArray()
;
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The recommended way to install is through Composer:
composer require frzb/transactional-messenger
```

It requires PHP version 8.1 and higher.
It requires PHP version 8.2 and higher.

Usage `#[Transactional]`
-----
Expand Down

0 comments on commit 1806bf9

Please sign in to comment.