Move space addition to implementation.
This commit is contained in:
parent
7debf736a6
commit
49bca5171b
@ -233,7 +233,7 @@ public function <methodName>()
|
|||||||
'/**
|
'/**
|
||||||
* <description>
|
* <description>
|
||||||
*
|
*
|
||||||
* @param <variableType>$<variableName>
|
* @param <variableType> $<variableName>
|
||||||
*
|
*
|
||||||
* @return <entity>
|
* @return <entity>
|
||||||
*/
|
*/
|
||||||
@ -251,7 +251,7 @@ public function <methodName>(<methodTypeHint>$<variableName><variableDefault>)
|
|||||||
'/**
|
'/**
|
||||||
* <description>
|
* <description>
|
||||||
*
|
*
|
||||||
* @param <variableType>$<variableName>
|
* @param <variableType> $<variableName>
|
||||||
*
|
*
|
||||||
* @return <entity>
|
* @return <entity>
|
||||||
*/
|
*/
|
||||||
@ -269,7 +269,7 @@ public function <methodName>(<methodTypeHint>$<variableName>)
|
|||||||
'/**
|
'/**
|
||||||
* <description>
|
* <description>
|
||||||
*
|
*
|
||||||
* @param <variableType>$<variableName>
|
* @param <variableType> $<variableName>
|
||||||
*/
|
*/
|
||||||
public function <methodName>(<methodTypeHint>$<variableName>)
|
public function <methodName>(<methodTypeHint>$<variableName>)
|
||||||
{
|
{
|
||||||
@ -1163,7 +1163,7 @@ public function __construct()
|
|||||||
|
|
||||||
$methodTypeHint = null;
|
$methodTypeHint = null;
|
||||||
$types = Type::getTypesMap();
|
$types = Type::getTypesMap();
|
||||||
$variableType = $typeHint ? $this->getType($typeHint) . ' ' : null;
|
$variableType = $typeHint ? $this->getType($typeHint) : null;
|
||||||
|
|
||||||
if ($typeHint && ! isset($types[$typeHint])) {
|
if ($typeHint && ! isset($types[$typeHint])) {
|
||||||
$variableType = '\\' . ltrim($variableType, '\\');
|
$variableType = '\\' . ltrim($variableType, '\\');
|
||||||
|
Loading…
Reference in New Issue
Block a user