| 
					
				 | 
			
			
				@@ -31,14 +31,15 @@ abstract class AbstractPostSerializable implements PostSerializableInterface { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         foreach ((new ReflectionClass(static::class))->getConstructor()->getParameters() as $param) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if ($short) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $vars[$param->getName()] = (object)[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    'type' => $param->getType(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    'type' => !is_null($param->getType()) ? $param->getType()->getName() : 'mixed', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     'required' => !($param->isOptional() || $param->allowsNull()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $vars[sprintf('%s-%s', static::namespace(), $param->getName())] = (object)[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    'type' => $param->getType(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    'type' => !is_null($param->getType()) ? $param->getType()->getName() : 'mixed', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     'required' => !($param->isOptional() || $param->allowsNull()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return $vars; 
			 |