mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:47:32 -05:00 
			
		
		
		
	Remove string requirement from toggleHiddenProperty
This commit is contained in:
		
							parent
							
								
									085d08bbcb
								
							
						
					
					
						commit
						84e618d1b6
					
				@ -70,10 +70,10 @@ trait TableHelpers
 | 
			
		||||
     * Return "true" or "false" based on null or empty check.
 | 
			
		||||
     * We need to return false as string because of HTML parsing.
 | 
			
		||||
     * 
 | 
			
		||||
     * @param string $property 
 | 
			
		||||
     * @param mixed $property 
 | 
			
		||||
     * @return string 
 | 
			
		||||
     */
 | 
			
		||||
    public function toggleHiddenProperty(string $property): string
 | 
			
		||||
    public function toggleHiddenProperty($property): string
 | 
			
		||||
    {
 | 
			
		||||
        if (is_null($property)) {
 | 
			
		||||
            return 'false';
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user