Skip to content

Commit d8e1691

Browse files
committed
Fix getOneBy Functions Parameter Type
1 parent 04cbf2d commit d8e1691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/PHP8.0/repository.mysql.getOneBy.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @param {{ AttributeType }} ${{ AttributeName }}
44
* @return {{ EntityName }}|null
55
*/
6-
public function getOneBy{{ FunctionName }}({{ AttributeType }} ${{ AttributeName }}): ?{{ EntityName }}
6+
public function getOneBy{{ FunctionName }}(int ${{ AttributeName }}): ?{{ EntityName }}
77
{
88
${{ EntityVariableName }} = $this->newQuery()
99
->where('{{ ColumnName }}', ${{ AttributeName }})

0 commit comments

Comments
 (0)