Completed
Push — master ( ce62ef...a1e916 )
by Thomas
02:37
created
sami.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 	->in($dir);
13 13
 
14 14
 $versions = GitVersionCollection::create($dir)
15
-    ->addFromTags('v0.*')
16
-    ->add('master', 'master branch')
15
+	->addFromTags('v0.*')
16
+	->add('master', 'master branch')
17 17
 ;
18 18
 
19 19
 return new Sami($iterator, [
Please login to merge, or discard this patch.
src/visitor/GeneratorVisitor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -357,6 +357,9 @@
 block discarded – undo
357 357
 		}
358 358
 	}
359 359
 
360
+	/**
361
+	 * @param string $type
362
+	 */
360 363
 	protected function writeFunctionReturnType($type) {
361 364
 		if ($this->config->getGenerateReturnTypeHints() && $type != NULL && false === strpos($type, '|')) {
362 365
 			$this->writer->write(': ')->write($type);
Please login to merge, or discard this patch.
src/model/AbstractPhpStruct.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -171,10 +171,10 @@
 block discarded – undo
171 171
 	 * 
172 172
 	 * If the class has already been declared you get only the set alias.
173 173
 	 * 
174
- 	 * @param string $qualifiedName
175
- 	 * @param null|string $alias
176
- 	 * @return string the used alias
177
- 	 */
174
+	 * @param string $qualifiedName
175
+	 * @param null|string $alias
176
+	 * @return string the used alias
177
+	 */
178 178
  	public function declareUse($qualifiedName, $alias = null) {
179 179
  		$qualifiedName = trim($qualifiedName, '\\');
180 180
  		if (!$this->hasUseStatement($qualifiedName)) {
Please login to merge, or discard this patch.
src/model/GenerateableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -5,6 +5,7 @@
 block discarded – undo
5 5
 
6 6
 	/**
7 7
 	 * Generates docblock based on provided information
8
+	 * @return void
8 9
 	 */
9 10
 	public function generateDocblock();
10 11
 }
Please login to merge, or discard this patch.
src/model/ConstantsInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
 	/**
48 48
 	 * Returns a constant
49 49
 	 *
50
-	 * @param string|PhpConstant $nameOrConstant constant or name
51 50
 	 * @throws \InvalidArgumentException If the constant cannot be found
52 51
 	 * @return PhpConstant
53 52
 	 */
Please login to merge, or discard this patch.
src/visitor/GeneratorNavigator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
 	 * @return \Closure
166 166
 	 */
167 167
 	private function getConstantSortFunc() {
168
-		return $this->constantSortFunc ?  : 'strcasecmp';
168
+		return $this->constantSortFunc ?: 'strcasecmp';
169 169
 	}
170 170
 
171 171
 	/**
Please login to merge, or discard this patch.
src/model/PhpParameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 	 */
124 124
 	public function getDocblockTag() {
125 125
 		return ParamTag::create()
126
-			->setType($this->getType() ?  : 'mixed')
126
+			->setType($this->getType() ?: 'mixed')
127 127
 			->setVariable($this->getName())
128 128
 			->setDescription($this->getTypeDescription());
129 129
 	}
Please login to merge, or discard this patch.