@@ -27,14 +27,14 @@ |
||
| 27 | 27 | * @param Consumer|Record $consumer |
| 28 | 28 | * @return int|string|null |
| 29 | 29 | */ |
| 30 | - public static function fromRecord(Consumer $consumer): int|string|null |
|
| 30 | + public static function fromRecord(Consumer $consumer): int | string | null |
|
| 31 | 31 | { |
| 32 | 32 | $action = static::make(); |
| 33 | 33 | |
| 34 | 34 | return $action->handle($consumer->getManagerName()); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - public function handle($consumerClassRepository = null): int|string|null |
|
| 37 | + public function handle($consumerClassRepository = null): int | string | null |
|
| 38 | 38 | { |
| 39 | 39 | return $this->consumerClasses->forRepository($consumerClassRepository)?->getName(); |
| 40 | 40 | } |