@@ -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)) { |
@@ -26,6 +26,9 @@ discard block |
||
26 | 26 | $this->zohoClient = $zohoClient; |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @return string |
|
31 | + */ |
|
29 | 32 | abstract protected function getModule(); |
30 | 33 | abstract protected function getSingularModuleName(); |
31 | 34 | abstract protected function getPluralModuleName(); |
@@ -297,7 +300,7 @@ discard block |
||
297 | 300 | } |
298 | 301 | |
299 | 302 | /** |
300 | - * @param $fieldName |
|
303 | + * @param string $fieldName |
|
301 | 304 | * @return null|Field |
302 | 305 | */ |
303 | 306 | public function getFieldFromFieldName($fieldName) |