Completed
Push — master ( 9fef8e...159932 )
by Thomas
04:59
created
src/command/AbstractGenerateCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
 		;
92 92
 	}
93 93
 	
94
+	/**
95
+	 * @param string $name
96
+	 */
94 97
 	protected function runCommand($name, InputInterface $input, OutputInterface $output) {
95 98
 		// return whether command has already executed
96 99
 		$app = $this->getApplication();
Please login to merge, or discard this patch.
src/services/CodeGeneratorService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 	 * Adds authors to the docblock of the given struct
63 63
 	 *
64 64
 	 * @param AbstractPhpStruct $struct
65
-	 * @param array $package
65
+	 * @param PackageSchema $package
66 66
 	 */
67 67
 	public function addAuthors(AbstractPhpStruct $struct, PackageSchema $package) {
68 68
 		$docblock = $struct->getDocblock();
Please login to merge, or discard this patch.
src/command/GenerateActionCommand.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -281,7 +281,6 @@  discard block
 block discarded – undo
281 281
 	/**
282 282
 	 * Generates an action.
283 283
 	 *  
284
-	 * @param string $actionName
285 284
 	 * @param ActionSchema $action the action node from composer.json
286 285
 	 */
287 286
 	private function generateNamed($actionName) {
@@ -295,7 +294,7 @@  discard block
 block discarded – undo
295 294
 	/**
296 295
 	 * Generates the action for the package
297 296
 	 * 
298
-	 * @param unknown $actionName
297
+	 * @param string $actionName
299 298
 	 * @throws \RuntimeException
300 299
 	 * @return ActionSchema
301 300
 	 */
Please login to merge, or discard this patch.
src/generator/action/AbstractModelActionGenerator.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,8 @@
 block discarded – undo
11 11
 	/**
12 12
 	 * Generates an action trait with the given name as classname
13 13
 	 * 
14
-	 * @param string $name
15 14
 	 * @param ActionSchema $action
16
-	 * @return PhpTrait
15
+	 * @return PhpClass
17 16
 	 */
18 17
 	public function generate(ActionSchema $action) {
19 18
 		$class = PhpClass::create($action->getClass())
Please login to merge, or discard this patch.
src/generator/responder/AbstractPayloadJsonResponderGenerator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 		);
33 33
 	}
34 34
 	
35
+	/**
36
+	 * @param string $name
37
+	 * @param string $body
38
+	 */
35 39
 	protected function generatePayloadMethod($name, $body) {
36 40
 		return PhpMethod::create($name)
37 41
 			->addParameter(PhpParameter::create('request')
Please login to merge, or discard this patch.