@@ -446,10 +446,10 @@ discard block |
||
446 | 446 | |
447 | 447 | /** |
448 | 448 | * @param \ReflectionClass $refClass |
449 | - * @param $name |
|
450 | - * @param $namespace |
|
449 | + * @param string $name |
|
450 | + * @param string|null $namespace |
|
451 | 451 | * @param $typeKind |
452 | - * @param $baseResourceType |
|
452 | + * @param null|ResourceType $baseResourceType |
|
453 | 453 | * @return ResourceType |
454 | 454 | * @throws InvalidOperationException |
455 | 455 | */ |
@@ -472,7 +472,7 @@ discard block |
||
472 | 472 | } |
473 | 473 | |
474 | 474 | /** |
475 | - * @param $name |
|
475 | + * @param string $name |
|
476 | 476 | * @param ResourceType $resourceType |
477 | 477 | * @throws InvalidOperationException |
478 | 478 | */ |
@@ -453,7 +453,7 @@ |
||
453 | 453 | } |
454 | 454 | |
455 | 455 | /** |
456 | - * @param $methodName |
|
456 | + * @param string $methodName |
|
457 | 457 | * @param $entityInstance |
458 | 458 | * @param ResourceSet $resourceSet |
459 | 459 | * @return ResourceType |
@@ -119,7 +119,7 @@ |
||
119 | 119 | public static function validateWithoutPrefix($value, &$outValue) |
120 | 120 | { |
121 | 121 | $length = strlen($value); |
122 | - if (0 == $length || 0 != $length % 2) { |
|
122 | + if (0 == $length || 0 != $length%2) { |
|
123 | 123 | return false; |
124 | 124 | } |
125 | 125 |