mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-11-01 12:32:29 +01:00
Updated RequestChanable Interface and Trait
+ Fixed an error that was caused by the use of the "self" type-hint in a trait + Added more type-hints to the `setCaller()` method
This commit is contained in:
@ -28,7 +28,7 @@ interface RequestChainableInterface
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setCaller($object): self;
|
||||
public function setCaller(?object $object);
|
||||
|
||||
/**
|
||||
* Return the request chain heirarchy
|
||||
|
||||
Reference in New Issue
Block a user