Update type hint of System::jsonExit parameter to mixed
- Output isn't necessarily an array
This commit is contained in:
		
					parent
					
						
							
								8e3428764b
							
						
					
				
			
			
				commit
				
					
						d3c45f9186
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -149,7 +149,7 @@ class System extends BaseObject
 | 
			
		|||
	 * and adds an application/json HTTP header to the output.
 | 
			
		||||
	 * After finishing the process is getting killed.
 | 
			
		||||
	 *
 | 
			
		||||
	 * @param array  $x The input content.
 | 
			
		||||
	 * @param mixed  $x The input content.
 | 
			
		||||
	 * @param string $content_type Type of the input (Default: 'application/json').
 | 
			
		||||
	 */
 | 
			
		||||
	public static function jsonExit($x, $content_type = 'application/json') {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue