- Added a '?' whenever we're missing an information
This commit is contained in:
		
							parent
							
								
									08a8683d59
								
							
						
					
					
						commit
						452ac383b4
					
				@ -34,6 +34,9 @@ class Dump {
 | 
				
			|||||||
    public function renderHtml() {
 | 
					    public function renderHtml() {
 | 
				
			||||||
        $data = $this->getDumpContent();
 | 
					        $data = $this->getDumpContent();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        $this->trace['file'] ??= "?";
 | 
				
			||||||
 | 
					        $this->trace['line'] ??= "?";
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        return <<<HTML
 | 
					        return <<<HTML
 | 
				
			||||||
<pre style='-webkit-overflow-scrolling: touch;background-color: #f5f5f5;color: #4a4a4a;font-size: 12px;line-height:18px;overflow-x: auto;padding: 0.5rem 1.5rem;word-wrap: normal;white-space: pre;margin:0.33rem 0;position: relative;z-index:9000000000;'>
 | 
					<pre style='-webkit-overflow-scrolling: touch;background-color: #f5f5f5;color: #4a4a4a;font-size: 12px;line-height:18px;overflow-x: auto;padding: 0.5rem 1.5rem;word-wrap: normal;white-space: pre;margin:0.33rem 0;position: relative;z-index:9000000000;'>
 | 
				
			||||||
<div style='color:#9f9f9f;font-size:10px;' title='{$this->trace['file']}'>[ file: {$this->trace['file']}:{$this->trace['line']} ]</div>
 | 
					<div style='color:#9f9f9f;font-size:10px;' title='{$this->trace['file']}'>[ file: {$this->trace['file']}:{$this->trace['line']} ]</div>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user