Skip to content

Commit

Permalink
Merge pull request #1436 from ryo-utsunomiya/master
Browse files Browse the repository at this point in the history
Ensure generated Document/Repository follow PSR-2
  • Loading branch information
malarzm committed Jun 16, 2016
2 parents 1dcabeb + 2f6c1b5 commit cc39c5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/Doctrine/ODM/MongoDB/Tools/DocumentGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ class DocumentGenerator
<documentClassName>
{
<documentBody>
}';
}
';

private static $getMethodTemplate =
'/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ class DocumentRepositoryGenerator
*/
class <className> extends DocumentRepository
{
}';
}
';

public function generateDocumentRepositoryClass($fullClassName)
{
Expand Down

0 comments on commit cc39c5b

Please sign in to comment.