@@ -409,6 +409,9 @@ discard block |
||
409 | 409 | } |
410 | 410 | } |
411 | 411 | |
412 | + /** |
|
413 | + * @param string $str |
|
414 | + */ |
|
412 | 415 | private static function camelCase($str, array $noStrip = []) |
413 | 416 | { |
414 | 417 | $str = self::upperCamelCase($str, $noStrip); |
@@ -429,6 +432,11 @@ discard block |
||
429 | 432 | return $str; |
430 | 433 | } |
431 | 434 | |
435 | + /** |
|
436 | + * @param string $name |
|
437 | + * @param string $description |
|
438 | + * @param string $type |
|
439 | + */ |
|
432 | 440 | private static function registerProperty(PhpClass $class, $name, $description, $type, $nullable = false) |
433 | 441 | { |
434 | 442 | if (!$class->hasProperty($name)) { |
@@ -305,7 +305,7 @@ |
||
305 | 305 | } |
306 | 306 | |
307 | 307 | /** |
308 | - * @param $fieldName |
|
308 | + * @param string $fieldName |
|
309 | 309 | * @return null|Field |
310 | 310 | */ |
311 | 311 | public function getFieldFromFieldName($fieldName) |