Skip to content

Commit c6ab437

Browse files
authored
Update tests/Support/Command/CommandMockTrait.php
1 parent defdc96 commit c6ab437

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/Support/Command/CommandMockTrait.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ public function mockGeneratorSubFolders(): void
8787

8888
public function nativeIsSubClassOfMethodCall(array $arguments, bool $result = true): array
8989
{
90-
return [
91-
'function' => 'is_subclass_of',
92-
'arguments' => $arguments,
93-
'result' => $result,
94-
];
90+
return $this->functionCall('is_subclass_of', $arguments, $result);
9591
}
9692

9793
public function nativeUcwordsMethodCall(array $arguments, string $result): array

0 commit comments

Comments
 (0)