@@ -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) |
@@ -488,6 +488,9 @@ discard block |
||
488 | 488 | } |
489 | 489 | } |
490 | 490 | |
491 | + /** |
|
492 | + * @param string $str |
|
493 | + */ |
|
491 | 494 | private static function camelCase($str, array $noStrip = []) |
492 | 495 | { |
493 | 496 | $str = self::upperCamelCase($str, $noStrip); |
@@ -508,6 +511,11 @@ discard block |
||
508 | 511 | return $str; |
509 | 512 | } |
510 | 513 | |
514 | + /** |
|
515 | + * @param string|null $name |
|
516 | + * @param string $description |
|
517 | + * @param string $type |
|
518 | + */ |
|
511 | 519 | private static function registerProperty(PhpClass $class, $name, $description, $type, $nullable = false) |
512 | 520 | { |
513 | 521 | if (!$class->hasProperty($name)) { |