Update CS, typo

This commit is contained in:
Barry vd. Heuvel
2018-05-07 11:38:57 +02:00
parent 1b70277203
commit 50ecd8b815
4 changed files with 29 additions and 6 deletions
+8 -2
View File
@@ -383,7 +383,8 @@ class Alias
return new \ReflectionFunction($macro_func);
}
/*
* Get the docblock for this alias
*
* @param string $prefix
@@ -392,7 +393,12 @@ class Alias
public function getDocComment($prefix = "\t\t")
{
$serializer = new DocBlockSerializer(1, $prefix);
return ($this->phpdoc) ? $serializer->getDocComment($this->phpdoc) : '';
if ($this->phpdoc) {
return $serializer->getDocComment($this->phpdoc);
}
return '';
}
/**
+1 -1
View File
@@ -300,7 +300,7 @@ class ModelsCommand extends Command
if (isset($this->nullableColumns[$name])) {
$this->properties[$name]['type'] .= '|null';
}
}
}
}
}