Add docs link, misc format tweaks
This commit is contained in:
@@ -26,7 +26,7 @@ class DocumentMapper implements Mapper
|
||||
* @param class-string<TDoc> $className The type of class to be returned by this mapping
|
||||
* @param string $fieldName The name of the field (optional; defaults to `data`)
|
||||
*/
|
||||
public function __construct(public string $className, public string $fieldName = 'data') { }
|
||||
public function __construct(public string $className, public string $fieldName = 'data') {}
|
||||
|
||||
/**
|
||||
* Map a result to a domain class instance
|
||||
|
||||
Reference in New Issue
Block a user