-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added strict params and return types in generated code (#1888)
* Added toString return type * Added return type for baseObjectMethodHook tpl * Added return type for baseObjectMethods tpl * Fixed return type * Added typehint for prune method * Reverted typehint * Added return type for save method * Added return type hint for getPrimeryKey method * Reverted return type hint for getPrimeryKey method * Added void return types for some generated methods * Added typehint for generated method setPrimaryKey parm * Added typehint for doSave generated method * Fixed issues * Fixed issues with setPrimearyKey generator code * Set typehint for setter * Fixed typehint for geenerated setters * Reverted typehint for generated setters
- Loading branch information
Showing
4 changed files
with
23 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters