Skip to content

Commit 32e8945

Browse files
committed
Standardize nullable type hints to 'null|Type' order
Refactors type hints and docblocks across the codebase to consistently use the 'null|Type' order for nullable types, improving code readability and alignment with modern PHP standards. No functional changes are introduced; this is a documentation and type annotation update only.
1 parent b1636af commit 32e8945

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/AsyncQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
/**
1919
* @mixin DriverFactory
20-
* @property string|null $queue
20+
* @property null|string $queue
2121
*/
2222
class AsyncQueue extends Facade
2323
{

src/Kafka.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
/**
1919
* @mixin ProducerManager
20-
* @property string|null $queue
20+
* @property null|string $queue
2121
*/
2222
class Kafka extends Facade
2323
{

0 commit comments

Comments
 (0)