mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 08:17:22 +01:00
fix: add more extends and traits
This commit is contained in:
@ -78,7 +78,7 @@ final class UsesCall
|
||||
*/
|
||||
public function extend(string ...$classAndTraits): self
|
||||
{
|
||||
$this->classAndTraits = array_values($classAndTraits);
|
||||
$this->classAndTraits = array_merge($this->classAndTraits, array_values($classAndTraits));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user