Skip to content

Commit bfc3fd8

Browse files
authored
Merge pull request #35 from mineadmin/fix-generator
Optimising service update code templates
2 parents c46d37d + 375338c commit bfc3fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mine-generator/Stubs/Tree/service.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class {CLASS_NAME} extends AbstractService
8686
* @param array $data
8787
* @return bool
8888
*/
89-
public function update(int $id, array $data): bool
89+
public function update(mixed $id, array $data): bool
9090
{
9191
return $this->mapper->update($id, $this->handleData($data));
9292
}

0 commit comments

Comments
 (0)