@@ -62,7 +62,7 @@ |
||
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(); |
@@ -32,6 +32,10 @@ |
||
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') |
@@ -6,7 +6,7 @@ |
||
6 | 6 | /** |
7 | 7 | * Add default blank methods |
8 | 8 | * |
9 | - * @param string $classname |
|
9 | + * @param string $className |
|
10 | 10 | */ |
11 | 11 | public function generate($className) { |
12 | 12 | $class = $this->generateClass($className); |
@@ -8,6 +8,9 @@ |
||
8 | 8 | |
9 | 9 | protected $serializer; |
10 | 10 | |
11 | + /** |
|
12 | + * @param string $serializer |
|
13 | + */ |
|
11 | 14 | public function setSerializer($serializer) { |
12 | 15 | $this->serializer = $serializer; |
13 | 16 | } |