Skip to content

Commit 9e2ea27

Browse files
committed
fix return type of method equals
method equals() return type change from boolean to bool
1 parent 8414f33 commit 9e2ea27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wizardPhpSkeletons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async function generatePhpClassSkeleton(className: string, namespace: string): P
112112

113113

114114
const equalsMethod = equalsCondition.length ? `
115-
public function equals(self $toCompare): boolean
115+
public function equals(self $toCompare): bool
116116
{
117117
return ${equalsCondition.join('\n AND ')};
118118
}

0 commit comments

Comments
 (0)