Completed
Push — master ( 886536...023239 )
by Thomas
07:27
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/command/GenerateActionCommand.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -283,7 +283,6 @@
 block discarded – undo
283 283
 	/**
284 284
 	 * Generates an action.
285 285
 	 *  
286
-	 * @param string $actionName
287 286
 	 * @param ActionSchema $action the action node from composer.json
288 287
 	 */
289 288
 	private function generateAction($actionName) {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,9 +13,6 @@
 block discarded – undo
13 13
 use keeko\tools\generator\action\ToManyRelationshipUpdateActionGenerator;
14 14
 use keeko\tools\generator\action\ToOneRelationshipReadActionGenerator;
15 15
 use keeko\tools\generator\action\ToOneRelationshipUpdateActionGenerator;
16
-use keeko\tools\generator\domain\DomainGenerator;
17
-use keeko\tools\generator\domain\DomainTraitGenerator;
18
-use keeko\tools\generator\domain\ReadOnlyDomainTraitGenerator;
19 16
 use keeko\tools\generator\GeneratorFactory;
20 17
 use keeko\tools\helpers\QuestionHelperTrait;
21 18
 use keeko\tools\utils\NamespaceResolver;
Please login to merge, or discard this patch.
src/generator/response/ToOneRelationshipJsonResponseGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 	/** @var Table */
15 15
 	private $foreign;
16 16
 	
17
+	/**
18
+	 * @param \keeko\tools\services\CommandService $service
19
+	 */
17 20
 	public function __construct($service, Table $model, Table $foreign) {
18 21
 		parent::__construct($service);
19 22
 		$this->model = $model;
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/generator/response/ToManyRelationshipJsonResponseGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 	/** @var Table */
15 15
 	private $foreign;
16 16
 	
17
+	/**
18
+	 * @param \keeko\tools\services\CommandService $service
19
+	 */
17 20
 	public function __construct($service, Table $model, Table $foreign) {
18 21
 		parent::__construct($service);
19 22
 		$this->model = $model;
Please login to merge, or discard this patch.
src/command/GenerateDomainCommand.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -1,14 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace keeko\tools\command;
3 3
 
4
-use keeko\framework\schema\ActionSchema;
5
-use keeko\framework\utils\NameUtils;
6 4
 use keeko\tools\generator\domain\DomainGenerator;
7 5
 use keeko\tools\generator\domain\DomainTraitGenerator;
8 6
 use keeko\tools\generator\domain\ReadOnlyDomainTraitGenerator;
9 7
 use keeko\tools\helpers\QuestionHelperTrait;
10
-use keeko\tools\utils\NamespaceResolver;
11
-use phootwork\lang\Text;
12 8
 use Propel\Generator\Model\Table;
13 9
 use Symfony\Component\Console\Input\InputArgument;
14 10
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.