forked from LiveCarta/PayPal-PHP-SDK
More Webhook API Changes
- Updated API Models with Fixes - Updated Samples - Additional Functional Tests
This commit is contained in:
@@ -34,6 +34,10 @@ class PPReflectionUtil
|
||||
*/
|
||||
public static function getPropertyClass($class, $propertyName)
|
||||
{
|
||||
if ($class == get_class(new PPModel())) {
|
||||
// Make it generic if PPModel is used for generating this
|
||||
return get_class(new PPModel());
|
||||
}
|
||||
|
||||
if (($annotations = self::propertyAnnotations($class, $propertyName)) && isset($annotations['return'])) {
|
||||
$param = $annotations['return'];
|
||||
|
||||
Reference in New Issue
Block a user