Completed
Push — master ( c7b947...966759 )
by Thomas
08:09
created
src/command/AbstractKeekoCommand.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/command/GenerateActionCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -246,6 +246,9 @@
 block discarded – undo
246 246
 		return $action;
247 247
 	}
248 248
 	
249
+	/**
250
+	 * @param string $type
251
+	 */
249 252
 	private function generateRelationshipAction(Relationship $relationship, $type) {
250 253
 		$model = $relationship->getModel();
251 254
 		$module = $this->package->getKeeko()->getModule();
Please login to merge, or discard this patch.
src/command/GenerateEmberModelsCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@
 block discarded – undo
76 76
 		return $models;
77 77
 	}
78 78
 	
79
+	/**
80
+	 * @return Project
81
+	 */
79 82
 	private function getProject($packageName = null) {
80 83
 		if ($this->prj === null) {
81 84
 			if ($packageName === null) {
Please login to merge, or discard this patch.
src/generator/GeneratorFactory.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,6 @@  discard block
 block discarded – undo
98 98
 	 * Creates a generator for the given json respose
99 99
 	 * 
100 100
 	 * @param string $type
101
-	 * @param CommandService $this->service
102 101
 	 * @return AbstractModelJsonResponderGenerator
103 102
 	 */
104 103
 	public function createModelJsonResponderGenerator($type) {
@@ -124,7 +123,6 @@  discard block
 block discarded – undo
124 123
 	 * Creates a new package generator
125 124
 	 * 
126 125
 	 * @param string $type
127
-	 * @param CommandService $this->serivce
128 126
 	 * @return AbstractPackageGenerator
129 127
 	 */
130 128
 	public function createPackageGenerator($type) {
Please login to merge, or discard this patch.
src/generator/serializer/base/ModelSerializerTraitGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 		
76 76
 		$class->setMethod(PhpMethod::create('getSortFields')
77 77
 			->setBody($this->twig->render('getFields.twig', [
78
-				'fields' => $this->codegenService->arrayToCode(array_map(function ($field) {
78
+				'fields' => $this->codegenService->arrayToCode(array_map(function($field) {
79 79
 					return NameUtils::dasherize($field);
80 80
 				}, $readFields))
81 81
 			]))
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 		$readFields = $this->codegenService->getReadFields($model->getOriginCommonName());
85 85
 		$class->setMethod(PhpMethod::create('getFields')
86 86
 			->setBody($this->twig->render('getFields.twig', [
87
-				'fields' => $this->codegenService->arrayToCode(array_map(function ($field) {
87
+				'fields' => $this->codegenService->arrayToCode(array_map(function($field) {
88 88
 					return NameUtils::dasherize($field);
89 89
 				}, $readFields))
90 90
 			]))
Please login to merge, or discard this patch.