Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1378626

Browse files
committed
Fixed new line in docblock (2478037).
1 parent 2a80e34 commit 1378626

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/Doctrine/ORM/Tools/EntityGenerator.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class EntityGenerator
219219
'/**
220220
* <description>
221221
*
222+
*
222223
* @return <variableType>
223224
*/
224225
public function <methodName>()
@@ -233,6 +234,7 @@ public function <methodName>()
233234
'/**
234235
* <description>
235236
*
237+
*
236238
* @param <variableType> $<variableName>
237239
*
238240
* @return <entity>
@@ -251,6 +253,7 @@ public function <methodName>(<methodTypeHint>$<variableName><variableDefault>)
251253
'/**
252254
* <description>
253255
*
256+
*
254257
* @param <variableType> $<variableName>
255258
*
256259
* @return <entity>
@@ -269,6 +272,7 @@ public function <methodName>(<methodTypeHint>$<variableName>)
269272
'/**
270273
* <description>
271274
*
275+
*
272276
* @param <variableType> $<variableName>
273277
*/
274278
public function <methodName>(<methodTypeHint>$<variableName>)
@@ -1173,7 +1177,7 @@ protected function generateEntityStubMethod(ClassMetadataInfo $metadata, $type,
11731177
}
11741178

11751179
$replacements = array(
1176-
'<description>' => ucfirst($type) . ' ' . $variableName . ".\n",
1180+
'<description>' => ucfirst($type) . ' ' . $variableName,
11771181
'<methodTypeHint>' => $methodTypeHint,
11781182
'<variableType>' => $variableType,
11791183
'<variableName>' => $variableName,

0 commit comments

Comments
 (0)